steps to perform ssh login without password
we will be using
ssh-keygen
ssh-copy-id
you need to create a public and private key on your host machine
ssh-keygen
now newly created public key must be copied to remote host which we want to access
ssh-copy-id -i <public-key-location> remote-host
Ex: ssh-copy-id -i .ssh/id_rsa.pub portweb@portaldevfe01
we will be using
ssh-keygen
ssh-copy-id
you need to create a public and private key on your host machine
ssh-keygen
now newly created public key must be copied to remote host which we want to access
ssh-copy-id -i <public-key-location> remote-host
Ex: ssh-copy-id -i .ssh/id_rsa.pub portweb@portaldevfe01
Comments
Post a Comment