cat ~/.ssh/id_rsa.pub | \
ssh [email protected] \
"sudo mkdir /root/.ssh; sudo tee -a /root/.ssh/authorized_keys"
Last active
May 17, 2020 11:58
-
-
Save zubair1024/6116530d77d5dbbdd68063b9792c9c76 to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment