Forum archive
Unable to logon to SFTP
Hello Everyone,
I'm new to Turnkey-Fileserver and have to admit that I have also only a limited knowledge of LINUX.
I installed Turnakey yesterday, created new users and a group, assigned the user to a home directory
but have no luck to have those people using SFTP. I allways get the error message "authentication failed" whenever I try to open a SFTP session as one of the user. SFTP works for root.
Any ideas?
Thank you in advance for your help on this matter.
Roger
SFTP uses Linux users to authenticate. Probably the easiest way for a Linux newb is to use Webmin (look for Users & Groups - IIRC you can find it in the far left or second from the left top menu dropdown).
With the Fileserver appliance, there are also Samba users (used for Samba/Windows file sharing). Samba users can be fairly easily be synced with Linux users.
And then there is also eXtplorer which has it's own user database again (unless you use the SFTP part - is that perhaps where you are going wrong?)
Be aware that if you wish to limit what users can do/access/break then for simplicity it may be easier to use either eXtplorer and/or Samba for file access. You can lock SFTP down but it will be a little more involved. By default Linux users will be able to log in to a shell (eg SSH) and will have file system wide read permissions.