My son has an scponlyc "shell" login on one of my servers.
He started to get this error:
"Cannot initialize SFTP protocol. Is the host running a SFTP server?"
He was trying to connect using WinSCP ....
The problem was that the chroot home directory wasn't owned by root, so the
login failed. I fixed this and made sure his group could write to the
directory, but it is now owned by root.
Kind Regards
AndrewM
Andrew McGlashan
Broadband Solutions now including VoIP
--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Andrew McGlashan wrote:
> The problem was that the chroot home directory wasn't owned by root,
> so the login failed. I fixed this and made sure his group could
> write to the directory, but it is now owned by root.
One little problem.... I had to remove the group write permissions.