The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > HP-UX
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #5 (permalink)  
Old 11-08-2005
blowtorch's Avatar
blowtorch blowtorch is offline
Supporter
 
Join Date: Dec 2004
Location: Singapore
Posts: 2,323
The permissions on your .ssh directory and the files below that should be like these:
# ls -ld .ssh
drwx------ 2 xxxx xxxx 96 xxxxx .ssh

# cd .ssh
# ls -l
total 64
-rw------- 1 xxxx xxxx 887 xxxxx id_rsa
-rw------- 1 xxxx xxxx 1024 xxxxx prng_seed

As you can see, only the owner should have read/write permissions on the directory and the files. In fact, ssh wont work if you are more permissive than this.
Reply With Quote