...
Tip |
---|
|
Click on "Alternative download options" where you may download and extract the corresponding tarball for your computer architecture, and place the tsh executable somewhere in your PATH |
Authenticating yourself
Multiexcerpt |
---|
MultiExcerptName | standard_tsh_auth |
---|
|
Once every 12 hours, you will need to refresh your tokens with the tsh command. SSH connections may remain active for longer than 12 hours, but new connections will require re-authentication. To authenticate yourself, open a local terminal and run tsh , giving the location of our Teleport gateway: Your default web browser will open. You should login with your email address, ECMWF password, and then the code from your Time-based One-Time-Password (TOTP) device or the 8-digit one-time passcode from your ActivIdentity (HID) security token if you have not configured your TOTP yet. Info |
---|
| If you're already logged in to the ECMWF website, or have recently logged in to this service, the password prompt might be skipped. |
If the process is successful, you will see an output such as: No Format |
---|
> Profile URL: https://jump.ecmwf.int:443
Logged in as: user.address@somewhere.com
Cluster: jump.ecmwf.int
Roles:
Logins: ecmwfusername
Kubernetes: disabled
Valid until: 2022-12-13 20:54:18 +0000 GMT [valid for 4h37m0s]
Extensions: permit-X11-forwarding, permit-agent-forwarding, permit-port-forwarding, permit-pty |
Tip |
---|
| Once you have logged int at least once, tsh will save your proxy settings so you can skip the extra argument next time:
|
|
We strongly recommend setting up all the SSH options needed for the connection instead of passing them on the command line.
...
Edit the file ~/.ssh/config
on your computer and add the snippet below. You may create it if it does not exist. You should replace ecmwfusername
by your registered ECMWF user and user.address@somewhere.com
by your registered email address at ECMWF.
Multiexcerpt |
---|
MultiExcerptName | ssh_config |
---|
|
Code Block |
---|
language | text |
---|
title | SSH config snippet in ~/.ssh/config |
---|
| Host jump.ecmwf.int a?-* a??-* hpc-* hpc2020-* ecs-*
User ecmwfusername
IdentityFile ~/.tsh/keys/jump.ecmwf.int/user.address@somewhere.com
CertificateFile ~/.tsh/keys/jump.ecmwf.int/user.address@somewhere.com-ssh/jump.ecmwf.int-cert.pub
HostKeyAlgorithms +ssh-rsa*,rsa-sha2-512
PubkeyAcceptedKeyTypes +ssh-rsa*
ServerAliveInterval 60
TCPKeepAlive yes
Host a?-* a??-* hpc-* hpc2020-* ecs-*
ProxyJump jump.ecmwf.int |
Tip |
---|
title | Not sure about username and email? |
---|
| You can find the right values for those two parameters in the output of the tsh command: Panel |
---|
% tsh login
> Profile URL: https://jump.ecmwf.int:443
Logged in as: user.address@somewhere.com
Cluster: jump.ecmwf.int
Roles:
Logins: ecmwfusername
Kubernetes: disabled
Valid until: 2022-12-13 20:54:18 +0000 GMT [valid for 3h56m0s]
Extensions: permit-X11-forwarding, permit-agent-forwarding, permit-port-forwarding, permit-pty
|
|
|
...
If everything else fails...
Multiexcerpt |
---|
MultiExcerptName | report_problem |
---|
|
If you cannot login to teleport or connect via SSH and |
...
you are not able to understand why, please raise an issue to our ECMWF Support portal and sending us the output of the commands: No Format |
---|
tsh version
tsh login
ssh -V
ssh -v ecs-login |
You should also include information about your computer (Operating system |
...
) to help us narrow down the problem. |