SFTP configuration for single directory per user
Dear Members,
I am trying to configure sftp on my Server (Redhat). But I am facing following issue. Link used: https://www.linode.com/docs/tools-re...ian-and-ubuntu These are the parameters added to /etc/ssh/sshd_config file : Quote:
Quote:
Debug Command : sftp -vvv test1@Ipaddress Code:
debug1: Next authentication method: password Waiting for your response. Thank you Redhat-Keeda |
A slight change.
Check into this page http://www.thegeekstuff.com/2012/03/chroot-sftp-setup/ for another discussion. Notice in particular the difference in the way sshd_config is structured.
I think you can get this working with a very minimal edit of the config file and restarting sshd. Although it is supposed to work that way, internal-sftp is not an executable and you cannot really force-command it properly. OpenSSH is supposed to see it as a keyword and take the proper action, but that does not always happen in the match block as it should. Setting it up so internal-sftp is the default and the other settings are in the match block seems to work in more cases. |
All times are GMT -5. The time now is 03:57 AM. |