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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SSH Keys to log CM 1

Status
Not open for further replies.

halj

Technical User
Oct 6, 2008
32
US
trying to log into CM 6.3.8 using putty with SSH keys.

On CM under Administration - Server - SSH Keys I am able to copy RSA - SSH v2 key to clipboard.
On putty under Connection - SSH - Host Keys I am adding the key and saving.

When I try to connect I still am being prompted for the password
Note: under connection Data I already added the Auto-login username so I don't need to add the user
 
 https://files.engineering.com/getfile.aspx?folder=74bcf709-973e-450d-a85a-01e77c9d5199&file=host_keys.PNG
Those ssh keys are public keys, not private keys. They're for you to put in your terminal server or known_hosts on other things so you're not prompted to accept them manually.

I've never seen anyone log in to CM with SSH keys. I've never seen my user account in /var/home/dadmin/.ssh have anything for private keys I'd take and put anywhere else.
 
You can setup ssh keys between servers and login without password authentication for individual logins.


A great teacher, does not provide answers, but methods to teach others "How and where to find the answers"

bsh

45 years Bell, AT&T, Lucent, Avaya
Tier 3 for 35 years and counting
[URL unfurl="true"]http://bshtele.com[/url]
 
That is what I am trying.

If I get the public key from CM (SMI) and add on putty I still am prompted for credentials.

Another attempt was: create private and public keys in CM (command line ssh-keygen).
Added key under .ssh/id_rsa and also tried under .ssh/authorized_keys/id_rsa
Added the public key on putty. Still not working

Another: got the private from CM (previously created) and loaded on putty key-gen (then I got a message that to use with putty I should save again the private with putty format (newer than avaya format).
Then I moved back the private key to CM with WinSCP. So I also dug into this but no success.

This should be easy to connect but I cannot figure it out.
If you guys are able to connect with SSH Keys please let me know.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top