1060
1061
host_key = paramiko.RSAKey.from_private_key_file(key_file)
1061
1062
ssh_server.add_server_key(host_key)
1063
1064
ssh_server.set_subsystem_handler('sftp', paramiko.SFTPServer,
1064
1065
StubSFTPServer, root=self._root,
1065
1066
home=self._server_homedir)