insert file key file ssh
cat ~/.ssh/id_rsa.pub | ssh USER@HOST "mkdir -p ~/.ssh && cat >> ~/.ssh/authorized_keys"
3.44
9
sudo chmod 400 [key file]
sudo ssh -i [key file] [username]@[ip]
Thank you!
9
0
Are there any code examples left?
New code examples in category Shell/Bash