diff options
author | Lars Wirzenius <liw@liw.fi> | 2011-12-29 20:17:47 +0000 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2011-12-29 20:17:47 +0000 |
commit | 38d42cff2976923f8f7c7e2a643b732cf0acd580 (patch) | |
tree | 873342d5e5751368063c8c788d1b6593fd4843ce /test-sftpfs | |
parent | 557e6b0c95d04d2e405b2e44ae3cbfdfa0d51697 (diff) | |
download | obnam-38d42cff2976923f8f7c7e2a643b732cf0acd580.tar.gz |
implement strict-ssh-host-keys and ssh-known-hosts settings for openssh
Diffstat (limited to 'test-sftpfs')
-rwxr-xr-x | test-sftpfs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test-sftpfs b/test-sftpfs index 06694228..b73ce571 100755 --- a/test-sftpfs +++ b/test-sftpfs @@ -42,12 +42,12 @@ class SftpTests(unittest.TestCase, obnamlib.VfsTests): self.basepath = tempfile.mkdtemp() baseurl = 'sftp://localhost%s' % self.basepath settings = { - 'pure-paramiko': True, + 'pure-paramiko': False, 'create': True, 'sftp-delay': 0, 'ssh-key': '', 'strict-ssh-host-keys': False, - 'ssh-known-hosts': '/dev/null', + 'ssh-known-hosts': os.path.expanduser('~/.ssh/known_hosts'), } self.fs = obnamlib.plugins.sftp_plugin.SftpFS(baseurl, settings=settings) |