shithub: wiki.9front.org

Download patch

ref: 21635c4ab8d55953ba4cdde5e6a8eb105bb75449
parent: 7bb504daf4d91542d825f0295f9567fefbe484a5
author: kvik <kvik@a-b.xyz>
date: Thu Oct 29 12:51:35 EDT 2020

ssh: add page from old wiki (thanks Amavect)

--- /dev/null
+++ b/ssh.md
@@ -1,0 +1,26 @@
+# 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.