Opened 4 years ago

Closed 4 years ago

#1588 closed help (fixed)

passphrase and umui compilation fail

Reported by: Leighton_Regayre Owned by: ros
Component: PUMA Keywords: ssh-agent
Cc: Platform: PUMA
UM Version:

Description

Since ARCHER jobs stopped running a few days back, my passphrase and sometimes my ARCHER password has been requested during umui submission via PUMA.

Today when attempting to submit a job [xlll.i] the extraction of UMATMOS base repository fails during submission.

Extracting UMATMOS base repository…
UMATMOS base repository extract failed

because of a permission denied error.

I've not changed any key or passphrase information.

Change History (8)

comment:1 Changed 4 years ago by ros

  • Owner changed from um_support to ros
  • Status changed from new to accepted

Hi Leighton,

You probably just need to run on PUMA:

ssh-add

to reattach your ssh-key to the ssh-agent. If you get the error Could not open connection to your authentication agent please see the following FAQ: http://cms.ncas.ac.uk/wiki/FAQ_T4_F5

You should then be able to ssh from PUMA to ARCHER without a prompt for password or passphrase.

Regards,
Ros.

comment:2 Changed 4 years ago by Leighton_Regayre

Hi Ros,

I've followed those instructions but am still requested for passphrase and password when I ssh to ARCHER.

Thanks,

Leighton.

comment:3 Changed 4 years ago by ros

Hi Leighton,

When you ssh from PUMA to ARCHER are you prompted for your passphrase or password? It will only prompt for one or the other and the fix I give you will depend on which it is.

Regards,
Ros.

comment:4 Changed 4 years ago by Leighton_Regayre

Hi Ros,

I'm definitely asked for both passphrase and password. I've copied a brief extract here:

Enter passphrase for key '/home/Leighton_Regayre/.ssh/id_dsa':
Password:
Last login: Thu Jun 11 14:23:22 2015 from puma.nerc.ac.uk

Thanks,

Leighton

comment:5 Changed 4 years ago by ros

Hi Leighton,

If it prompts for your password after entering your passphrase then it means you are typing in the wrong passphrase. Your passphrase is different to your password.

If you can't remember what your passphrase is then you will have to generate new ssh-keys. Follow points: 1, 2, 3, 4 & 6 of the setting up ssh-agent instructions: https://puma.nerc.ac.uk/trac/UM_TUTORIAL/wiki/Ros/sshAgent

Regards,
Ros.

comment:6 Changed 4 years ago by Leighton_Regayre

Hi Ros,

Thanks for your patience in sorting that out. I was entering an empty passphrase assuming that was standard. Is it something I'm doing that causes the passphrase to need re-entering?

Thanks,

Leighton.

comment:7 Changed 4 years ago by ros

Hi Leighton,

Once you have run ssh-add to attach your ssh-keys to the ssh-agent it will persist between PUMA login sessions, however, there will be times (e.g. when PUMA is rebooted or network issues) when the ssh-agent dies or the keys become detached from it. At this point you will then start being prompted for your passphrase until you restart the agent and ssh-add the keys. I also had to restart my ssh-agent this morning.

Hope that helps,
Regards,
Ros.

comment:8 Changed 4 years ago by ros

  • Keywords ssh-agent added
  • Resolution set to fixed
  • Status changed from accepted to closed
  • UM Version <select version> deleted
Note: See TracTickets for help on using tickets.