Opened 9 months ago

Closed 9 months ago

#3130 closed help (fixed)

logging into jasmin-cylc

Reported by: NoelClancy Owned by: pmcguire
Component: Other Keywords:
Cc: Platform: JASMIN
UM Version:

Description

Patrick,

I cannot log into jasmin-cylc. Do you know what is wrong?

[ue023700.SWPC276] ➤ ssh -AY ue023700@…
Welcome to Ubuntu 16.04.6 LTS (GNU/Linux 4.4.0-170-generic x86_64)

  • Overheard at KubeCon?: "microk8s.status just blew my mind".

https://microk8s.io/docs/commands#microk8s.status

Last login: Mon Jan 13 07:47:33 2020 from swpc276.rdg.ac.uk
ue023700@nxnode1:~$ exec ssh-agent $SHELL
ue023700@nxnode1:~$ ssh-add ~/.ssh/id_rsa_jasmin
ssh-add: /home/users/swsheaps/anaconda2/lib/libcrypto.so.1.0.0: no version information available (required by ssh-add)
ssh-add: /home/users/swsheaps/anaconda2/lib/libcrypto.so.1.0.0: no version information available (required by ssh-add)
Enter passphrase for /home/users/ue023700/.ssh/id_rsa_jasmin:
Identity added: /home/users/ue023700/.ssh/id_rsa_jasmin (/home/users/ue023700/.ssh/id_rsa_jasmin)
ue023700@nxnode1:~$ ssh -AY nmc@…
ssh: /home/users/swsheaps/anaconda2/lib/libcrypto.so.1.0.0: no version information available (required by ssh)
ssh: /home/users/swsheaps/anaconda2/lib/libcrypto.so.1.0.0: no version information available (required by ssh)
ssh: connect to host jasmin-cylc.ceda.ac.uk port 22: Connection timed out
ue023700@nxnode1:~$

Change History (11)

comment:1 Changed 9 months ago by pmcguire

  • Cc mcguirepatr@… removed
  • Component changed from JULES to Other
  • Platform set to JASMIN
  • Status changed from new to accepted

Hi Noel
Are you still having problems with this? I just checked with MobaXterm and with nxnode1, like you are doing, and everything works fine following similar steps to what you have done, to get to jasmin-cylc from my account.

If you're still having problems, maybe you can try to make your .bashrc, .bash_profile, and .profile files look more like mine on nxnode1? My username there is gn916173. But it is very important to make back up files of these first. I would first try to comment out (temporarily) the export PATH and export LD_LIBRARY_PATH lines in your .bashrc file, since these refer to the warning/error messages that you quote above that go to the swsheaps anaconda installation.
Patrick

comment:2 Changed 9 months ago by NoelClancy

  • Status changed from accepted to pending

ssh -AY gn916173@… is password protected.

Where can I see your .bashrc, .bash_profile, and .profile files?

comment:3 Changed 9 months ago by pmcguire

Hi Noel:
Of course, you are not allowed to log into my account on nxnode1 with ssh. But once you are logged in to your account on nxnode1, you can type:
pwd
This will give you the path to the current working directory, which is your home directory, where your .bashrc & etc. files are at.
My versions of those files will be in the same path as your home directory, but with my username substituted for your username.
Patrick

Last edited 9 months ago by pmcguire (previous) (diff)

comment:4 Changed 9 months ago by NoelClancy

Patrick,

My .bashrc looks is different to yours

# .bashrc

# Source global definitions
if [ -f /etc/bashrc ]; then

. /etc/bashrc

fi

# User specific aliases and functions
export PATH="/home/users/swsheaps/anaconda2/bin:$PATH"
export LD_LIBRARY_PATH="/home/users/swsheaps/anaconda2/lib:$LD_LIBRARY_PATH"

comment:5 Changed 9 months ago by NoelClancy

Patrick,

I made backups of .bashrc and .bash_profile

cp /home/users/ue023700/.bashrc /home/users/ue023700/.bash_profilerc_2020_01_13
cp /home/users/ue023700/.bash_profile /home/users/ue023700/.bash_profile_backup_2020_01_13

However, I don't have .profile

comment:6 Changed 9 months ago by NoelClancy

Patrick,
I made backups of .bashrc and .bash_profile
cp /home/users/ue023700/.bashrc /home/users/ue023700/.bashrc_2020_01_13
cp /home/users/ue023700/.bash_profile /home/users/ue023700/.bash_profile_backup_2020_01_13
However, I don't have .profile

comment:7 Changed 9 months ago by NoelClancy

Partick,

My .bashrc profile is not like yours

HOWEVER!!!!!…..but I commented out the export PATH and export LD_LIBRARY_PATH lines in my .bashrc file
and now the following is working now but I don't know why???

ssh -AY ue023700@…
exec ssh-agent $SHELL
ssh-add ~/.ssh/id_rsa_jasmin # Enter the passphrase
ssh -AY nmc@…
ssh -AY nmc@…

Maybe we can close the ticket for now but should I uncomment the out the export PATH and export LD_LIBRARY_PATH lines in my .bashrc file? If yes, when?


comment:8 Changed 9 months ago by pmcguire

Hi Noel
I am glad it works.
You will need to uncomment those lines if you want to have the same anaconda environment for your Python as you had before on nxnode1. When I put those lines into my .bashrc, then I get the same libcrypto.so.1.0.0: no version information available (required by ssh-add) warning messages that you get, but I am still able to ssh from nxnode1 to jasmin-cylc.
Patrick

Last edited 9 months ago by pmcguire (previous) (diff)

comment:9 Changed 9 months ago by pmcguire

Hi Noel
I am glad it works. I am resending this message since the website wasn't sending messages earlier today.
You will need to uncomment those lines if you want to have the same anaconda environment for your Python as you had before on nxnode1. When I put those lines into my .bashrc, then I get the same libcrypto.so.1.0.0: no version information available (required by ssh-add) warning messages that you get, but I am still able to ssh from nxnode1 to jasmin-cylc.
Patrick

comment:10 Changed 9 months ago by pmcguire

  • Status changed from pending to assigned

comment:11 Changed 9 months ago by pmcguire

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