Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

debian ssh authorized_keys

cat ~/.ssh/id_rsa.pub | ssh remote_username@server_ip_address "mkdir -p ~/.ssh && chmod 700 ~/.ssh && cat >> ~/.ssh/authorized_keys && chmod 600 ~/.ssh/authorized_keys"
Source by linuxize.com #
 
PREVIOUS NEXT
Tagged: #debian #ssh
ADD COMMENT
Topic
Name
2+4 =