Open main menu

Changes

73 bytes added ,  13:57, 21 November 2008
m
→‎Procedure: more on perms
# If you are an administrator, please assume the role of the user for whom you are setting up this service.
## <code>sudo su ''user''</code>
# Ensure the user has a <code>~/.ssh/</code> directory with appropriate permissions. It must allow the user access for RWX, and group and other permissions must not be writable. Typically, 755 is a good setup. If they don't have one, then <source lang="bash">mkdir ~/.ssh/ && chmod 755 ~/.ssh</source> Note that the actual identity files should NOT be readable by anyone but the user because <code>ssh-add</code> ignores identity files if they are accessible by others. That means files like id_rsa should be 600 and id_rsa.pub should be 644
# Create a new private/public key pairing for the user. Type: RSA, Bits: 1024, File:~/.svn/identity[.pub]
## <source lang="bash">ssh-keygen -t rsa -b 1024 -f ~/.ssh/identity</source>
4,558

edits