One Linux connect to the Other Linux OS without password steps

One Linux connect to the Other Linux OS without password steps

1.Logon Linux with your account

   cd ~/.ssh

   ssh-keygen -t rsa

2. Cd to the dir ~/.ssh/

   cp id_rsa.pub authorized_keys

3. Copy keys to remote Linux server

     scp authorized_keys [email protected]:/etc/ssh/keys-root/authorized_keys (for VMware esxi server)

     scp authorized_keys [email protected]:~/.ssh/(for Other Linux OS)

4. Try connect Linux server you may do not need password now

     ssh [email protected]

你可能感兴趣的:(One Linux connect to the Other Linux OS without password steps)