Opened 9 years ago

Closed 9 years ago

#490 closed help (fixed)

problem ssh'ing to puma

Reported by: anmcr Owned by: ros
Component: PUMA Keywords:
Cc: Platform:
UM Version: 7.1

Description (last modified by ros)

Hi Andy,

When I ssh to puma I get the following message

:/users/anmcr> puma_ssh
Warning: the RSA host key for 'puma.nerc.ac.uk' differs from the key for the IP address '134.225.0.17'
Offending key for IP in /users/anmcr/.ssh/known_hosts:14
Matching host key in /users/anmcr/.ssh/known_hosts:15
Are you sure you want to continue connecting (yes/no)? 

If I answer with 'yes' I can login to puma and am unable to launch the umui as the connection is rejected because of wrong authentication.

anmcr@puma:/home/anmcr> umui&
[1]     14318
anmcr@puma:/home/anmcr> X11 connection rejected because of wrong authentication.
Application initialization failed: couldn't connect to display "localhost:37.0"
Error in startup script: invalid command name "option"

Can you please help?

Thanks,

Andrew


Change History (4)

comment:1 Changed 9 years ago by ros

  • Description modified (diff)
  • Owner changed from um_support to ros
  • Status changed from new to accepted

Hi Andy,

Try removing the entries for PUMA in your /users/anmcr/.ssh/known_hosts file (lines 14 and 15) and then ssh into PUMA again to regenerate the entry. Hopefully that will sort things out.

If not let me know.

Regards,
Ros.

comment:2 Changed 9 years ago by ros

P.S.
You also need to make sure you're using ssh -Y or ssh -X to forward the X connection to your local machine.

comment:3 Changed 9 years ago by anmcr

Hi Ros,

Thanks for replying quickly.

It seems to have worked now.

Andrew

comment:4 Changed 9 years ago by ros

  • Resolution set to fixed
  • Status changed from accepted to closed
Note: See TracTickets for help on using tickets.