Answers for "kulcs másolása távoli gépre"

0

kulcs másolása távoli gépre

cat ~/.ssh/id_rsa.pub | ssh user@host "mkdir -p ~/.ssh && cat >> ~/.ssh/authorized_keys"
cat ~/.ssh/id_rsa.pub | ssh user@host "mkdir -p ~/.ssh && cat >> ~/.ssh/authorized_keys" | ssh user@host "chmod 700 ~/.ssh/authorized_keys"
Posted by: Guest on May-25-2021

Browse Popular Code Answers by Language