Home > OS >  On a pair of public/private key under Linux login problem of different users
On a pair of public/private key under Linux login problem of different users

Time:10-14

Such as:
I created A pair of keys on A machine, the id_rsa. Pub on machine B/home/user1/. After SSH, in A machine operation, can pass the user1 login key machine B,
But!!!!!!
The same thing, and I send id_rsa. Pub on machine B/home/user1/. After SSH, but not in the machine on A remote login to the machine B user user2, MAO?

If I understand the principle of public-private key login is not correct? What steps or less?

CodePudding user response:

The original poster is to want to achieve from dense login, right?

CodePudding user response:

reference 1/f, unknown D batman response:
the original poster is to achieve close login is free?

Yes, that's the first user operating to OK, the second user but no, I don't know what is going wrong

CodePudding user response:

You should put the file to user2. SSH directory is
  • Related