SimonBlake
Posts: 11
Joined: Fri Feb 13, 2015 4:33 pm

FileZilla SFTP with the new version of Stretch

Mon Sep 18, 2017 1:46 pm

Has anyone else encountered authentication failures when attempting to transfer files using FileZilla to the September version of Stretch? It seemed quite happy with the August version, but when I try the September version it happily connects, lists directories and their contents, even allows me to create new directories. But when I try to copy files to those directories, it tries to authenticate again and fails.

Weird ...

Simon

SimonBlake
Posts: 11
Joined: Fri Feb 13, 2015 4:33 pm

Re: FileZilla SFTP with the new version of Stretch

Wed Sep 20, 2017 12:16 pm

Am I alone in suffering this? :-)

/var/log/auth.log contains this:

Sep 20 12:55:59 P100000 login[537]: pam_unix(login:session): session opened for user pi by LOGIN(uid=0)
Sep 20 12:55:59 P100000 systemd-logind[327]: New session c1 of user pi.
Sep 20 12:55:59 P100000 systemd: pam_unix(systemd-user:session): session opened for user pi by (uid=0)
Sep 20 12:55:59 P100000 lightdm: pam_unix(lightdm-autologin:session): session opened for user pi by (uid=0)
Sep 20 12:55:59 P100000 systemd-logind[327]: New session c2 of user pi.
Sep 20 12:56:02 P100000 polkitd(authority=local): Registered Authentication Agent for unix-session:c2 (system bus name :1.13 [lxpolkit], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_GB.UTF-8)
Sep 20 12:56:11 P100000 sshd[876]: Accepted password for pi from 10.25.1.155 port 53806 ssh2
Sep 20 12:56:11 P100000 sshd[876]: pam_unix(sshd:session): session opened for user pi by (uid=0)
Sep 20 12:56:11 P100000 systemd-logind[327]: New session c3 of user pi.
Sep 20 12:56:39 P100000 sshd[890]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=10.25.1.155 user=pi
Sep 20 12:56:41 P100000 sshd[890]: Failed password for pi from 10.25.1.155 port 53809 ssh2
Sep 20 12:56:43 P100000 sshd[890]: Connection closed by 10.25.1.155 port 53809 [preauth]

So it's happy to let me log in at the start of the session, but not as soon as I try to copy files (in either direction) - that session c3. The password is stored by FileZilla and wasn't changed by me between the successful connection and the failed one.

I managed to grab this portion of that logfile using a different SFTP client - MuCommander - so it might be thought to be a FileZilla issue, apart from the fact that FileZilla worked quite happily with the August version of Raspbian Stretch.

Simon

SimonBlake
Posts: 11
Joined: Fri Feb 13, 2015 4:33 pm

Re: FileZilla SFTP with the new version of Stretch

Wed Sep 20, 2017 2:14 pm

Ok, this looks like a problem with the Mac client of FileZilla, given that it doesn't seem to affect the Windows client.

Ticket raised with FileZilla.

Simon

Return to “Raspbian”