Permissions for ssh and scp

Mario Lang mlang at
Wed May 5 10:42:35 UTC 2004

"John J. Boyer" <director at> writes:

> I just installed Redhat 9 on one of my machines. Norcmlly I access this 
> machines through ssh and scp. However, now I can do these only for root. 
> If I try to do them on an ordinary account I get the message "Connection 
> reset by peer". Evidently permissions have to be set on something, but 
> what something?

Check ~/.ssh.  Most files in there should be 0600, and the directory
itself should be 0700.

  Mario | Debian Developer <URL:>
        | Get my public key via finger mlang at
        | 1024D/7FC1A0854909BCCDBE6C102DDFFC022A6B113E44

More information about the Blinux-list mailing list