Commit 1d803ee2 authored by Gary Wong's avatar Gary Wong

Fix typo (id_rsa_pub -> in code sample.

Reported by Peizhao Hu.
parent 1cfb024b
......@@ -12,4 +12,4 @@ ssh-keygen -y -f $HOME/.ssh/id_rsa > $HOME/.ssh/
# If you want to permit login authenticated by the auto-generated key,
# then append the public half to the authorized_keys file:
grep -q -f $HOME/.ssh/ $HOME/.ssh/authorized_keys || cat $HOME/.ssh/id_rsa_pub >> $HOME/.ssh/authorized_keys
grep -q -f $HOME/.ssh/ $HOME/.ssh/authorized_keys || cat $HOME/.ssh/ >> $HOME/.ssh/authorized_keys
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment