Friday 26 November 2021

connect to Linux by name instead of ip address

 connect to linux by name instead of ip address

Go to ~/.ssh/config

Host dev
  HostName XXX.XX.XX.XXXX
  IdentityFile ~/.ssh/id_rsa
  User xxxxxxxxxxxx
  AddKeysToAgent yes

No comments:

Post a Comment