Carlo Pradissitto wrote:
> Case 1
> [root@sftp-server home]# chown user.sftp user/
> [root@sftp-server home]# chmod 755 user/
>
> carlo@Music:~$ sftp user@213.217.147.123
> Connecting to 213.217.147.123...
> user@213.217.147.123's password:
> Read from remote host 213.217.147.123: Connection reset by peer
> Couldn't read packet: Connection reset by peer
>
>
> Case 2
> [root@sftp-server home]# chown user.root user/
>
> carlo@Music:~$ sftp user@213.217.147.123
> Connecting to 213.217.147.123...
> user@213.217.147.123's password:
> Read from remote host 213.217.147.123: Connection reset by peer
> Couldn't read packet: Connection reset by peer


Ok. I suggest running sshd -ddd on the server side to get clear
messages about which directories need which permissions.


//Peter
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
https://lists.mindrot.org/mailman/li...enssh-unix-dev