Changes

From SME Server
Jump to navigationJump to search
971 bytes added ,  23:58, 2 August 2007
Line 58: Line 58:     
And that's it now wait for mirrors to sync and have a beer.
 
And that's it now wait for mirrors to sync and have a beer.
 +
 +
If you want you can set up your contrib directory so that you can use ssh keys, if you do use ssh keys then you will need to make sure the you have the following permissions set correctly...
 +
 +
- home dir must be 2750 (drwxr-s---)
 +
 +
- .ssh must be 0700 (drwx------)
 +
 +
- authorized_keys2 must be 0644 (-rw-r--r--)
 +
 +
So for example we would change the permissions on our /tmp/test directory by typing...
 +
 +
  chmod 2750 /tmp/test
 +
 +
Now if you haven't already create and change your permissions on the .ssh directory by typing...
 +
 +
mkdir /tmp/test/.ssh
 +
chmod 0700 /tmp/test/.ssh
 +
 +
Create your ssh keys and copy the contents of your public key in to the authorized_keys2 and remember to change permissions by typing...
 +
 +
chmod 0644 /tmp/test/.ssh/authorized_keys2
 +
 +
Now you are ready to rsync your new .ssh keys to your contribs directory using your current password, once you have done the final rsync to upload your .ssh keys from now on you can log in using your ssh passphrase.
    
<noinclude>[[Category:Howto]]</noinclude>
 
<noinclude>[[Category:Howto]]</noinclude>

Navigation menu