how to configure a user account for SSH use

Events happening in the community are now at Drupal community events on www.drupal.org.
You are viewing a wiki page. You are welcome to join the group and then edit it. Be bold!

Currently redacting

The following is to be done only once for a given user on a computer (but for each user you want to use)

SourceComputer> su userNameYouWantToConnectWith
SourceComputer> cd ~

Check that you have a .ssh directory with :
SourceComputer> ls -a

if it is not the case create it with :
SourceComputer> mkdir .ssh

check the permission on the directory that MUST be 0700 or force them with :
SourceComputer> chmod 0700 .ssh

then, go into the .ssh directory
SourceComputer> cd .ssh

check that you have an authorized_keys or authorized_keys2 file with 0600 permissions or create it with :
SourceComputer> touch authorized_keys2
SourceComputer> chmod 600 authorized_keys2

**Permissions ARE important, wrong permissions => NON WORKING SSH ***

Currently redacting

Aegir hosting system

Group organizers

Group categories

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: