diff options
author | Lars Wirzenius <liw@liw.fi> | 2013-10-20 12:17:16 +0100 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2013-10-20 12:17:16 +0100 |
commit | 59aecac9c07abb452d5b8b6078a91e960ee18319 (patch) | |
tree | d2b6f8dbc23607e4ea0b31f99f4701aa06549e68 /test-sftpfs | |
parent | 8ed777e3abaa62b129b678a02d4c8d82ae2f4c5b (diff) | |
download | obnam-59aecac9c07abb452d5b8b6078a91e960ee18319.tar.gz |
Add new, better ssh host key checking option
Patch by Itamar Turner-Trauring, with changes to test-sftpfs by me.
Diffstat (limited to 'test-sftpfs')
-rwxr-xr-x | test-sftpfs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test-sftpfs b/test-sftpfs index 6a7b9b93..4b8e6c39 100755 --- a/test-sftpfs +++ b/test-sftpfs @@ -50,6 +50,7 @@ class SftpTests(unittest.TestCase, obnamlib.VfsTests): 'strict-ssh-host-keys': False, 'ssh-known-hosts': os.path.expanduser('~/.ssh/known_hosts'), 'ssh-command': None, + 'ssh-host-keys-check': 'no', } self.fs = obnamlib.plugins.sftp_plugin.SftpFS(baseurl, settings=settings) @@ -72,6 +73,7 @@ class SftpTests(unittest.TestCase, obnamlib.VfsTests): 'strict-ssh-host-keys': False, 'ssh-known-hosts': os.path.expanduser('~/.ssh/known_hosts'), 'ssh-command': None, + 'ssh-host-keys-check': 'no', } fs = obnamlib.plugins.sftp_plugin.SftpFS(baseurl, settings=settings) fs.connect() |