Article From:

1.【See whether to start]

  Start SSHService “/etc/init.d/sshd start”。Then use netstat -antulp grep SSH.See if you can see the relevant information.

2.【Set auto start]

  How to set upsshSome services start automatically with the system boot?

     Method 1: [root@localhost ~] VI /etc/rc.local
      Accession: service sshd startOr /etc/init.d/sshd start

  Method two: Enter/etc/rc.dAnd then enter the corresponding operation.
      Levels such asrc3.d.takeKlabor foremansshService changed toSinitial


Linux – Secret login


ssh-keygen -t rsa



/Users/user/.ssh/id_rsa already exists.


id_rsaFor the private key file, is a public key file.


ssh-copy-id -i ~/.ssh/ dss@ip




Command line without direct login

ssh -p 22 dss@  


Link of this Article: Linux – password free login

Leave a Reply

Your email address will not be published. Required fields are marked *