Open megusta420 opened 7 years ago
I had same thing. Occur Mac OSX too.
Logs hear.
Exception in thread Thread-27:
Traceback (most recent call last):
File "./python3.3/threading.py", line 901, in _bootstrap_inner
File "/Users/user/Library/Application Support/Sublime Text 3/Packages/RemoteTree/remote-tree.py", line 26, in run
conn.chdir(self.tree.server['remote_path'] + '/' + self.item['path'] + self.item['name'])
File "/Users/user/Library/Application Support/Sublime Text 3/Packages/RemoteTree/pysftp/__init__.py", line 523, in chdir
self._sftp_connect()
File "/Users/user/Library/Application Support/Sublime Text 3/Packages/RemoteTree/pysftp/__init__.py", line 205, in _sftp_connect
self._sftp = paramiko.SFTPClient.from_transport(self._transport)
File "/Users/user/Library/Application Support/Sublime Text 3/Packages/RemoteTree/paramiko/sftp_client.py", line 139, in from_transport
chan.invoke_subsystem('sftp')
File "/Users/user/Library/Application Support/Sublime Text 3/Packages/RemoteTree/paramiko/channel.py", line 64, in _check
return func(self, *args, **kwds)
File "/Users/user/Library/Application Support/Sublime Text 3/Packages/RemoteTree/paramiko/channel.py", line 268, in invoke_subsystem
self._wait_for_event()
File "/Users/user/Library/Application Support/Sublime Text 3/Packages/RemoteTree/paramiko/channel.py", line 1198, in _wait_for_event
raise e
paramiko.ssh_exception.SSHException: Channel closed.
My bad. This is because the connection failed. But, still can't connect for some other reason.
Traceback (most recent call last):
File "./python3.3/threading.py", line 901, in _bootstrap_inner
File "/Users/metadev/Library/Application Support/Sublime Text 3/Packages/RemoteTree/remote-tree.py", line 24, in run
ensure_connection(self.tree.server)
File "/Users/metadev/Library/Application Support/Sublime Text 3/Packages/RemoteTree/remote-tree.py", line 434, in ensure_connection
cnopts = cnopts
File "/Users/metadev/Library/Application Support/Sublime Text 3/Packages/RemoteTree/pysftp/__init__.py", line 143, in __init__
self._transport.connect(**self._tconnect)
File "/Users/metadev/Library/Application Support/Sublime Text 3/Packages/RemoteTree/paramiko/transport.py", line 1123, in connect
self.start_client()
File "/Users/metadev/Library/Application Support/Sublime Text 3/Packages/RemoteTree/paramiko/transport.py", line 510, in start_client
raise e
File "/Users/metadev/Library/Application Support/Sublime Text 3/Packages/RemoteTree/paramiko/transport.py", line 1805, in run
self._check_banner()
File "/Users/metadev/Library/Application Support/Sublime Text 3/Packages/RemoteTree/paramiko/transport.py", line 1957, in _check_banner
'Error reading SSH protocol banner' + str(e)
paramiko.ssh_exception.SSHException: Error reading SSH protocol banner
I solved. Used module paramiko seems allow only sftp connection without ftp.
Here is the screenshot made afterwhile pressing Remote->Connect... and selecting the server.
Is it a bug? I am using W10.