Discussions
Categories
- 17.9K All Categories
- 3.4K Industry Applications
- 3.4K Intelligent Advisor
- 75 Insurance
- 537.7K On-Premises Infrastructure
- 138.7K Analytics Software
- 38.6K Application Development Software
- 6.1K Cloud Platform
- 109.6K Database Software
- 17.6K Enterprise Manager
- 8.8K Hardware
- 71.3K Infrastructure Software
- 105.4K Integration
- 41.6K Security Software
passwordless ssh not working

I get this error: "Enter passphrase for key '/export/home/<username>/.ssh/id_rsa' . Tried a few things and even went on the internet but no real help. Does anyone have any ideas?
Answers
-
This is generic openssh really not Solaris specific. Do you have an ssh key for the user (I'd guess yes). It will be in the file /export/home/<username>/.ssh/id_rsa on the target system. When it was generated using ssh-keygen you will have entered a pass phrase to encrypt it. It is that that ssh is asking for now. Have a look at the ssh-keygen(1) man page.
To make it truly passwordless (ie you don't even want to enter the passphrase), you'll need to have an ssh-agent manage the ssh keys. Again the ssh-agent(1) man page has plenty of help here.
It is perfectly possible to have one ssh-agent running on your source system, and have all instances of your shell talk to it so when you ssh to another host, the ssh-agent will provide the key.