Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

copy remote ssh key mac

cat ~/.ssh/id_rsa.pub | ssh <user>@<hostname> 'cat >> .ssh/authorized_keys && echo "Public key successfully copied"'
Source by ilikekillnerds.com #
 
PREVIOUS NEXT
Tagged: #copy #remote #ssh #key #mac
ADD COMMENT
Topic
Name
5+9 =