We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 696b753 commit 20b2165Copy full SHA for 20b2165
embedded_server/openssh.py
@@ -66,3 +66,4 @@ def stop(self):
66
67
def __del__(self):
68
self.stop()
69
+ os.unlink(SSHD_CONFIG)
embedded_server/sshd_config.tmpl
@@ -1,14 +1,9 @@
1
Protocol 2
2
-UsePrivilegeSeparation no
3
UsePAM no
4
-RhostsRSAAuthentication no
5
-HostbasedAuthentication no
+HostbasedAuthentication yes
6
IgnoreUserKnownHosts yes
7
-GSSAPIAuthentication no
8
ListenAddress 127.0.0.1
9
-KeyRegenerationInterval 3600
10
-ServerKeyBits 1024
11
12
AcceptEnv LANG LC_*
13
-Subsystem sftp /usr/lib/openssh/sftp-server
+Subsystem sftp internal-sftp
14
AuthorizedKeysFile {{parent_dir}}/authorized_keys
0 commit comments