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

Fix typo (id_rsa_pub -> id_rsa.pub) in code sample.

Reported by Peizhao Hu.
parent 1cfb024b
Pipeline #2845 passed with stages
in 1 minute and 58 seconds
......@@ -12,4 +12,4 @@ ssh-keygen -y -f $HOME/.ssh/id_rsa > $HOME/.ssh/id_rsa.pub
# 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/id_rsa.pub $HOME/.ssh/authorized_keys || cat $HOME/.ssh/id_rsa_pub >> $HOME/.ssh/authorized_keys
grep -q -f $HOME/.ssh/id_rsa.pub $HOME/.ssh/authorized_keys || cat $HOME/.ssh/id_rsa.pub >> $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