FileShuttle / fileshuttle

The FileShuttle Mac App - http://fileshuttle.io
MIT License
235 stars 17 forks source link

Authentication not working. #26

Closed nelder closed 8 years ago

nelder commented 9 years ago

A server I can connect to and upload to using terminal's SFTP command is showing a red do not enter sign over the icon when I try to upload a screenshot with the program. I have tried the build promoted on the website as well as the newer development build here on github. Any thoughts?

frdmn commented 9 years ago

Did you peek into /var/log/auth.log? Anything helpful in there?

nelder commented 9 years ago

pam_env(sshd:session): Unable to open env file: /etc/default/locale: No such file or directory

anthonysomerset commented 9 years ago

does - your server support SCP? SFTP currently is the incorrect name as its actually just doing SCP which is a slightly different protocol and i know it doesn't work in some cases - most notably CloudLinux Servers with CageFS enabled

nelder commented 9 years ago

Oh I had created an account with sftp privileges only, I will need to allow that for the account then.

nelder commented 9 years ago

So it seems the easy way to set up a restricted account like this (http://passingcuriosity.com/2014/openssh-restrict-to-sftp-chroot/) does not allow scp protocol. Any chance of support for sftp protocol and scp protocol separately? The dropdown showing ftp and sftp is a bit misleading if sftp really is using scp. Or perhaps I will explore http://pizzashack.org/rssh/ to create an account with scp access to its directory.

nelder commented 8 years ago

Seems as though getting SCP working in a limited manner is more difficult than getting SFTP working in a limited capacity. Would it be possible to have a selection between FTP SCP and SFTP within the app?

anthonysomerset commented 8 years ago

yes this is underway - i'm going to close this and direct further comments to #18