diff options
| author | Alexander Egorenkov <eaibmz@gmail.com> | 2022-05-10 11:24:13 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2022-05-10 16:24:04 +0200 |
| commit | 56203b01f20ba941a9a9eee6c390a937658c9496 (patch) | |
| tree | e4833aef65059d2dc386defa05932322abc5e016 /tools/create-gce-image.sh | |
| parent | 92755894e7f0398871e13c7916df6acea7d16d8f (diff) | |
tools/create-gce-image.sh: enable sftp in ssh daemon
If we don't enable SFTP in SSH daemon, then scp will not work w/o -O option.
Fixes:
syz-ci-devel | 2022/05/10 09:01:23 syz-ci-devel-kasan: VM testing failed
with: failed to copy test binary to VM: failed to run ["scp" "-P" "55610"
"-F" "/dev/null" "-o" "UserKnownHostsFile=/dev/null" "-o" "BatchMode=yes"
"-o" "IdentitiesOnly=yes" "-o" "StrictHostKeyChecking=no" "-o"
"ConnectTimeout=10" "/workdir/syzkaller/current/bin/linux_s390x/syz-fuzzer"
"root@localhost:/syz-fuzzer"]: exit status 255
syz-ci-devel | Warning: Permanently added '[localhost]:55610' (ED25519)
to the list of known hosts.
syz-ci-devel | subsystem request failed on channel 0
syz-ci-devel | scp: Connection closed
Signed-off-by: Alexander Egorenkov <eaibmz@gmail.com>
Diffstat (limited to 'tools/create-gce-image.sh')
| -rwxr-xr-x | tools/create-gce-image.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/create-gce-image.sh b/tools/create-gce-image.sh index e7a3a2dc9..54db2edcd 100755 --- a/tools/create-gce-image.sh +++ b/tools/create-gce-image.sh @@ -149,6 +149,7 @@ PermitRootLogin yes PasswordAuthentication yes PermitEmptyPasswords yes ClientAliveInterval 420 +Subsystem sftp /usr/lib/openssh/sftp-server EOF # Reset root password. sudo sed -i "s#^root:\*:#root::#g" disk.mnt/etc/shadow |
