Page 1 of 1

Unable to initialise SFTP: could not connect

Posted: Wed Dec 07, 2005 6:49 am
by ^rooker
[PROBLEM]
When trying to connect SFTP over SSH, I got the following errormessage:
Fatal: unable to initialise SFTP: could not connect

[SOLUTION]
Verify that you can log on by SSH using the same credentials. It could either be a simply typo or the user you're trying to logon with is simply not allowed to.

Check the server's "/var/log/messages" for details, you might even find something like this:
User xxx from xxx not allowed because none of user's groups are listed in AllowGroups