====== ssh-keygen ====== * [[OpenSSH]] * [[ssh]] ** Re-create the public key from a private key ** ssh-keygen -y -f id_rsa > id_rsa.pub ** Convert pubkey format ** Convert from pubkey with ''---- BEGIN SSH2 PUBLIC KEY ---'' to one-line: ssh-keygen -i -f beandog_rsa.pub