Skip to content

Commit

Permalink
sshfs-fuse: Do not prompt for known_hosts during ptests
Browse files Browse the repository at this point in the history
ptest runs are non-interactive, therefore ignore
adding to known_hosts on localhost

Signed-off-by: Khem Raj <[email protected]>
  • Loading branch information
kraj committed Oct 5, 2024
1 parent 44fb41b commit e6b228a
Showing 1 changed file with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
#!/bin/sh

mkdir -p ~/.ssh
cat > ~/.ssh/config << EOF
Host *
CheckHostIP no
StrictHostKeyChecking no
UserKnownHostsFile=/dev/null
EOF
pytest --automake

rm -rf ~/.ssh/config

0 comments on commit e6b228a

Please sign in to comment.