Quantcast
Channel: kb.hurricane-ridge.com » ssh-keygen
Browsing all 3 articles
Browse latest View live

Regenerating an SSH Host Key

Use ssh-keygen, just like you would with an account’s key pair: # ssh-keygen -f /etc/ssh/ssh_host_rsa_key -N '' -t rsa # ssh-keygen -f /etc/ssh/ssh_host_dsa_key -N '' -t dsa

View Article



Converting SSH Key Formats

To convert an SSH key from SSH2-compatible format to OpenSSH-compatible, use the “-i” flag to “ssh-keygen”: -i This option will read an unencrypted private (or public) key file in SSH2-compatible...

View Article

Generate an SSH Public Key from a Private Key

Use ssh-keygen: ssh-keygen -y -f key.pem > key.pub

View Article
Browsing all 3 articles
Browse latest View live




Latest Images