Scourge
Posts: 2
Joined: Tue Nov 29, 2016 5:33 pm

Latest Raspbian PI3 sftp fails server not responding

Tue Nov 29, 2016 6:10 pm

SSH communication with PI works fine, Can log in as either pi or another user from putty and can do as I wish.

Attempting file transfer using FileZilla or WinSCP to transfer files from Windows 10 machine to my PI fails every time when the PI fails to respond at the end of the transfer. Eventually the connection times out. Upon failure, attempted transfer leaves a zero byte size file on the PI with the correct filename. Attempted to change timeout from 20 seconds to 60 seconds, and even unlimited, but no difference.

Have not found another similar issue after lots of Googling.

Additional clarification. The initial connection works fine with any program. I can create directories and delete zero-length files. But, all file transfers fail.

dgdavidge
Posts: 2
Joined: Sun Dec 04, 2016 3:34 pm

Re: Latest Raspbian PI3 sftp fails server not responding

Sun Dec 04, 2016 4:01 pm

I had a similar problem except my connection was refused. I installed ProFTPD and it works fine now.

Scourge
Posts: 2
Joined: Tue Nov 29, 2016 5:33 pm

Re: Latest Raspbian PI3 sftp fails server not responding

Mon Dec 05, 2016 5:59 pm

dgdavidge wrote:I had a similar problem except my connection was refused. I installed ProFTPD and it works fine now.
That works.

I was hoping to use sftp as it is more secure. On all of my other *nix boxes I have used, it just works. But not on Raspbian ... curious ...

Thank you muchly for the assist.

User avatar
DougieLawson
Posts: 39304
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Latest Raspbian PI3 sftp fails server not responding

Mon Dec 05, 2016 7:02 pm

sftp is part of sshd which isn't enabled by default on NOOBS 2.1 or Raspbian 2016-11-25.

Get sshd enabled and sftp should "just work".
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

Return to “Troubleshooting”