Blog Archives

Connect to server using ssh and make password free enviornment

Connect to ssh server: $ ssh serverip -l username Enter user password: username@serverip’s password: change password command: $ passwd Password Free environment: Generate ssh-key: cd ~/.ssh ssh-keygen -t rsa append string in authorized_keys file[1]: ssh-copy-id -i ~/.ssh/id_rsa.pub remote-host username@remote-host’s password:

Tagged with: ,
Posted in ssh, Ubuntu, Uncategorized
StackOverFlow
Categories
Archives