These are the instructions on how to install and configure your Teleport SSH access on the native Windows Terminal or Powershell to connect to ECMWF services such as the Atos HPCF and ECGATE services.
Table of Contents
Demo
Here is a demonstration on how to set up Teleport to connect to our our Atos HPCF from your terminal on a Windows 10 or 11. You can find the step by step guide described below.
View file |
---|
name | placeholder_windows.mov |
---|
height | 250 |
---|
|
Installing the tsh
client
The tsh
application is required to perform user authentication.
tsh
is open source, very portable, and has minimal dependencies.
Go to the Teleport website and make sure you download the "tsh client" instead of "Teleport Connect" for Windows.
You will need to extract the zip file and put the "tsh.exe" executable somewhere in your PATH. The easiest way to do this is to:
- Open the zip file in your file browser
- Drag the teleport folder inside the file and drop into the directory of your choice (the main directory for your user, for example)
Open a Powershell and add to the PATH variable the location of the teleport directory. For example, if you dropped it on your main user directory (C:\Users\yourusername):
No Format |
---|
setx PATH "%USERPROFILE%\teleport;%PATH%" |
Authenticating yourself
Info |
---|
The following commands need to be run on a Windows Terminal or Powershell |
Multiexcerpt include |
---|
MultiExcerptName | standard_tsh_auth |
---|
PageWithExcerpt | Teleport SSH Access - Linux configuration |
---|
|
Setup your SSH config
We strongly recommend setting up all the SSH options needed for the connection instead of passing them on the command line.
Excerpt |
---|
- Open the File Explorer and navigate to
C:\Users\yourwindowsuser\ - If you have a directory called "
.ssh " directory, go inside. If not, you may create it with clicking on "New Folder" - Inside the
.ssh directory, check if there is a file called "config ".- If config exist, open it with your favourite editor, such as notepad or vscode.
- If config does not exist, you can open your favourite editor such as notepad or vscode to create the file and save it later
Add the snipped below in the file you opened. You should replace ecmwfusername by your registered ECMWF user and user.address@somewhere.com by your registered email address at ECMWF.
Multiexcerpt include |
---|
MultiExcerptName | ssh_config |
---|
PageWithExcerpt | Teleport SSH Access - Linux configuration |
---|
|
- Save the file. If you are creating the file from scratch, make sure you save it under
C:\Users\yourwindowsuser\.ssh and with the name "config", including the double quotes. The file must not have any extension.
|
SSH connection
Info |
---|
The following commands need to be run on a Windows Terminal or Powershell |
Multiexcerpt include |
---|
MultiExcerptName | ssh_standard_connection |
---|
PageWithExcerpt | Teleport SSH Access - Linux configuration |
---|
|
Troubleshooting
Multiexcerpt include |
---|
MultiExcerptName | report_problem |
---|
PageWithExcerpt | Teleport SSH Access - Linux configuration |
---|
|