Showing posts with label SSH. Show all posts
Showing posts with label SSH. Show all posts

Sunday, February 23, 2020

Monday, July 4, 2016

Authen SSH using key


ssh-keygen -t rsa

ssh username@remoteserver mkdir -p .ssh

cat .ssh/id_rsa.pub | ssh username@remoteserver 'cat >> .ssh/authorized_keys'