key generator for
ssh.
ssh-keygen will create a new
public/
private key combination for use with
ssh and
scp.
if you add the generated public key to ~/.ssh/authorized_keys on a remote host, you will be able to login with that key instead of your usual
password. this results in you being able to login/scp automatically (ie. without entering a password, very useful for scripts), if:
- the key is not protected with a passphrase (not recommendable), or
- you have ssh-agent running
see also:
man ssh-keygen
man ssh