Skip to content
Snippets Groups Projects
Commit 6051674d authored by Andreas Herten's avatar Andreas Herten
Browse files

Add info about SSH alias

parent f1530d8c
No related branches found
No related tags found
No related merge requests found
......@@ -31,3 +31,26 @@ Please connect to the two systems with SSH. Using a `train0XX` account, it looks
To forward the X server, use `-X` or `-Y` as an additional flag. In case of launching a GUI application on the compute backends it might be necessary to forward your SSH authentication agent (`-o ForwardAgent=yes`).
If you are new to SSH, you might want to have a look at some tutorials ([example](https://www.digitalocean.com/community/tutorials/ssh-essentials-working-with-ssh-servers-clients-and-keys)).
Use `ssh-add id_train0XX` to stop entering the passphrase of the given key.
### Creating Alias
It's handy to create an alias for your connection to JURECA or JURON, especially if you are using the custom private SSH key of the `train0XX` accounts.
Add the following to your `~/.ssh/config` (create the file if it does not exist):
```
Host jureca
HostName jureca.fz-juelich.de
User train055
IdentityFile ~/Downloads/id_train055
ForwardAgent Yes
```
(Adapt lines 3 and 4 to match your configuration.)
You can then use the alias `jureca` now in any statement with `ssh`, `scp`, or `rsync`, like
* `ssh jureca ls .`
* `scp jureca:~/results.csv ~/Downloads/`
* `rsync --archive --verbose jureca:~/hackathon/ ~/hackathon`
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment