2 SSH questions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



At 02:45 PM 1/10/2006, Paul Heinlein wrote:


>Further, you must ensure that, on the remote machine into which 
>you're attempting to login,

You just went beyond my Un*x memory stack.  I learned this stuff once 
upon a time, but I forget how to check this out...


>a) $HOME is not group-writeable or world-writeable

Is this the directory /home/user  ?  Or some environment variable?


>b) $HOME/.ssh has 0700 permissions
>
>c) $HOME/.ssh/* have 0600 permissions

As I said, mine are /ssh2  and how do I check this?


>(Actually, there are some $HOME/ssh/* files that can have looser 
>permissions than 600, but they all work with 0600, so that's the way 
>I keep them.)

~]$ ls -la
total 52
.
.
.
drwxrwxr-x  2 user user  4096 Jan 10 17:01 .ssh2


.ssh2]$ls -l
total 8
-rw-r--r--  1 user user   12 Jan 10 17:01 authorization
-rw-r--r--  1 user user 1252 Jul  8  2005 user.pub




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux