This site is currently read-only as we are migrating to Oracle Forums for an improved community experience. You will not be able to initiate activity until January 30th, when you will be able to use this site as normal.

    Forum Stats

  • 3,889,852 Users
  • 2,269,775 Discussions


passwordless ssh not working

richard headrick
richard headrick Member Posts: 1 Green Ribbon

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?


  • Chris W Beal-Oracle
    Chris W Beal-Oracle Member Posts: 33 Employee

    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.