2015年8月29日 星期六

Run Commands Remotely via SSH with No Password

1. Generate SSH key pair: ssh-keygen -t rsa
you will get a id_rsa.pub file in .ssh/


2. add content in id_rsa.pub to remote server .ssh/authorized_keys file

沒有留言: