Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Logging into SSH with PKI 1

Status
Not open for further replies.

ComputersUnlimited

IS-IT--Management
Dec 18, 2013
37
US
I am running two servers running Ubuntu Server 16.10. I am trying to configure SSH to allow logging in with PKI keys. I am trying to connect to the server from a Windows 7 computer using Putty. When I try to login to the server using the private key I get a message that says the server rejected our key or something like that.

I would appreciate any assistance.
 
ComputersUnlimited said:
When I try to login to the server using the private key I get a message that says the server rejected our key or something like that.

Have you added the keys that you generated on your local machine to your user profile on the server?

If not, there is a 'walk through' of how to set it up.



The "Put the public key in .ssh/authorized_keys2" is a bit vague in how it is worded in that document but is only a matter of

Code:
cp .ssh/authorized_keys .ssh/authorized_keys2


Chris.

Indifference will be the downfall of mankind, but who cares?
Time flies like an arrow, however, fruit flies like a banana.

Never mind this jesus character, stars had to die for me to live.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top