Hey There,
I am configuring passwordless authentication:
1. Created a public key using ssh-keygen -t rsa
I have got 2 file id_rsa and id_rsa.pub
2. We can copy this id_rsa.pub to remote server to execute passwordless authentication, that's right.
3.Also, we can copy this id_rsa.pub to local server aswell under different user and passwordless authentication will work from one user to other.
4.But, if the username is same as well, in that case how to get it work. i.e
source and destination host and user both are same.
Is it necessary to have different user or different hot???
Any immediate response will be highly appreciable.
Thanks,
Amarjeet
I am configuring passwordless authentication:
1. Created a public key using ssh-keygen -t rsa
I have got 2 file id_rsa and id_rsa.pub
2. We can copy this id_rsa.pub to remote server to execute passwordless authentication, that's right.
3.Also, we can copy this id_rsa.pub to local server aswell under different user and passwordless authentication will work from one user to other.
4.But, if the username is same as well, in that case how to get it work. i.e
source and destination host and user both are same.
Is it necessary to have different user or different hot???
Any immediate response will be highly appreciable.
Thanks,
Amarjeet