SSH免密碼登入



Login build server without password

# copy your Workstation ssh public key to 10.16.10.30 server for pwd-less login

# here is your public key, copy it
cat ~/.ssh/id_rsa.pub

# login server using your id
ssh 帳號@10.16.10.30

# past your public key to the authorized_keys file
mkdir .ssh;cd .ssh;touch authorized_keys;vi authorized_keys

Finally, test the pwd-less ssh login.  reconnect it
ssh 帳號@10.16.10.30



https://blog.longwin.com.tw/2005/12/ssh_keygen_no_passwd/

留言