Return to Snippet

Revision: 27838
at June 24, 2010 23:11 by choise

Initial Code
# goto ssh dir

# if not existing, first create folder
mkdir ~/.ssh && chmod 700 ~./.ssh

# Generate Keypair - Enter and password
ssh-keygen -t dsa

# export key to your server
cat | ssh [email protected] 'cat >>~/.ssh/authorized_keys'

# now you can login
ssh [email protected]

Initial URL

Initial Description

Initial Title
generate and login with SSH-Keys

Initial Tags
Bash, server, ssh

Initial Language