Changes

Jump to navigation Jump to search
188 bytes added ,  14:38, 21 November 2008
m
more on permissions
# 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.
# 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

Navigation menu