code:ssh
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
— | code:ssh [2015/11/19 15:00] (current) – created michfiel | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Setting up SSH ====== | ||
+ | |||
+ | |||
+ | On the local workstation: | ||
+ | * Open up Terminal.app | ||
+ | * cd .ssh | ||
+ | * ssh-keygen -t rsa1 (creates an RSA1 key pair for SSH protocol version 1 communication) | ||
+ | * Choose default location, and leave the passphrase empty. | ||
+ | * ssh-keygen -t dsa (creates a DSA key pair for SSH protocol version 2 communication) | ||
+ | * Choose default location, and leave the passphrase empty. | ||
+ | * ssh-keygen -t rsa (creates an RSA key pair for SSH protocol version 2 communication) | ||
+ | |||
+ | * Copy identity.pub, | ||
+ | |||
+ | On the remote server: | ||
+ | |||
+ | * cat identity.pub >> ~/ | ||
+ | * cat id_dsa.pub >> ~/ | ||
+ | * cat id_rsa.pub >> ~/ | ||
+ | |||
+ | * Make sure your .ssh directory is NOT group/world readable. | ||
+ | * SSH to the remote server after creating and moving your SSH keys into place. You will be prompted to accept the remote server' | ||
code/ssh.txt · Last modified: 2015/11/19 15:00 by michfiel