Unable to initialise SFTP: could not connect

Linux howto's, compile information, information on whatever we learned on working with linux, MACOs and - of course - Products of the big evil....
Post Reply
User avatar
^rooker
Site Admin
Posts: 1483
Joined: Fri Aug 29, 2003 8:39 pm

Unable to initialise SFTP: could not connect

Post 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
Post Reply