Opened 13 days ago
Last modified 13 days ago
#3097 assigned help
Shortcut to saved session
Reported by: | NoelClancy | Owned by: | pmcguire |
---|---|---|---|
Component: | Other | Keywords: | |
Cc: | Platform: | ||
UM Version: |
Description
Patrick,
You set up a saved session on MobaXterm? for me as a shortcut for me to jasmin-xfer1
This was very helpful as I only have to enter the passphrase
Is it possible to set up a saved session similar to that for the follow 5 commants?
ssh -AY ue023700@…
exec ssh-agent $SHELL
ssh-add ~/.ssh/id_rsa_jasmin
Enter the passphrase
ssh -AY nmc@…
ssh -AY nmc@…
Change History (2)
comment:1 Changed 13 days ago by pmcguire
- Component changed from JULES to Other
- Owner changed from pmcguire to um_support
comment:2 Changed 13 days ago by pmcguire
- Owner changed from um_support to pmcguire
- Status changed from new to assigned
Note: See
TracTickets for help on using
tickets.
Hi Noel
I am changing the Component for this from JULES to Other, since it is not JULES specific.
It is possible to skip the first step in MobaXterm, which is an ssh to nxnode1.rdg.ac.uk.
If you follow the directions at step 4 of https://research.reading.ac.uk/landsurfaceprocesses/software-examples/tutorial-rose-cylc-jules-on-jasmin/ then you can skip the step of sshing from the login1 node to the sci node of JASMIN.
I tried once to make a script that automates the rest (including the exec and the ssh-add and the ssh jasmin-sci2 commands), but that didn't work, and I have always since done each of these 3 commands (not 5 commands) each time it forgets my passphrase. When it remembers my passphrase, I only need to do the last step.
I don't know how right now to make a single step shortcut in MobaXterm to go to the jasmin-sci nodes.
Does this help?
Patrick