Usage of native SSH in Windows

Z MetaCentrum
Skočit na navigaci Skočit na vyhledávání

For a connection to Linux machines you can use build-in SSH client which is bundled in Windows 10 (from a version 1809).

How to use SSH

1. Open a terminal in Windows

You can choose classical command-line terminal (cmd) or you can use a modern interface PowerShell. Just open the Start menu and type cmd or powershell and press ENTER.

2. Call SSH command

In the chosen terminal you can directly use ssh command (in the same way as on Linux):

ssh YOUR_USERNAME@SOME_NODE

An example with username tomas123 and frontend skirit:

tomas123@skirit.ics.muni.cz

You will be ask for your MetaCentrum's password and after successful log in you can work on the chosen remote node.

Copying files from Windows to Linux and vice versa

For copying files to MetaCentrum's nodes you can use scp command. On your local PC in the chosen terminal type scp in the format:

scp source_file USERNAME@SOME_NODE:target_folder

Example: for copying file named my_data.csv to directory "computation" in your HOME folder on the node tarkil.metacentrum.cz you can use command:

scp my_data.csv tomas123@tarkil.metacentrum.cz:~/computation

Character tilde (~) represent your HOME folder (e.g. /storage/praha1/home/tomas123). If you would like to transfer files from MetaCentrum to your local PC, you can switch the arguments of scp command. More information you can find on the page Working with data.