a guest Aug 16th, 2018 55 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- # Every action mus happen from client-side command line
- ssh-keygen -t rsa
- ssh serverUser@serverIP mkdir -p .ssh
- cat ~/.ssh/id_rsa.pub | ssh serverUser@serverIP 'cat >> .ssh/authorized_keys'
- # finally
- ssh serverUser@serverIP
RAW Paste Data