ref: 6e8f6fd32b89ba431f6ae3a0bd344729009f96dd
dir: /ssh.md/
# ssh(1) Do you want to clone a repo with git+ssh? I sure do. Are you a dummy? I sure am. ## Generate RSA keys for SSH RSA is an asymmetric key. Keep your private key secret, but you can share the public key for people to encrypt messages that only you can decode with the private key. auth/rsagen -t 'service=ssh' >$home/lib/sshkey # generate private key auth/rsa2ssh $home/lib/sshkey >$home/lib/sshkey.pub # generate public key, if you need to share it cat $home/lib/sshkey >/mnt/factotum/ctl # put the private key in the password manager And SSH should Just Werk™. ## triple dog dare you Generating the key privately is left as an exercise to the reader. Putting the private key in a secure location is left as an exercise to the reader. Automatically loading the key into factotum is left as an exercise to the reader.