PyFilesystem / pyfilesystem

Python filesystem abstraction layer
http://pyfilesystem.org/
BSD 3-Clause "New" or "Revised" License
287 stars 63 forks source link

SFTPFS fails to connect. #264

Closed wgaylord closed 7 years ago

wgaylord commented 7 years ago

Trying to connect to my server and use a SFTPFS always ends in a paramiko.SSHException: Unable to connect to 192.178.1.83: [Errno 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond

I know that the ip is correct because I can connect to it with any other ssh client including paramiko.

Code used. t =SFTPFS(("192.178.1.83",22),username="**",password="*******",agent_auth=False,hostkey=None)

Background. Windows 10, Python 2.7.12 connecting to Debain Jessie remote host

wgaylord commented 7 years ago

Okay this is strange.... It works from my external ip but will not work thru my local lan.

willmcgugan commented 7 years ago

Did you manage to figure out what caused that at all?

wgaylord commented 7 years ago

nope. Still can't get it to work locally. Not sure why. Going to try again now.

wgaylord commented 7 years ago

Well it works now for some reason.. Not sure why it was not before.

willmcgugan commented 7 years ago

Temporary network issue maybe. Thanks for checking.

wgaylord commented 7 years ago

I was strange as I was sitting next to the physical machine. (Which is hardwired to my router)