This repository was archived by the owner on Aug 14, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
10 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -227,27 +227,31 @@ example computer, we will use SSH (if you are using PuTTY, see above). | |
|
||
SSH allows us to connect to UNIX computers remotely, and use them as if they | ||
were our own. The general syntax of the connection command follows the format | ||
`ssh [email protected]` and | ||
`ssh -i ~/.ssh/key_for_remote_computer [email protected]` | ||
when using SSH keys. Let's attempt to connect to the HPC system now: | ||
when using SSH keys and `ssh [email protected]` if only | ||
password access is available. Let's attempt to connect to the HPC system | ||
now: | ||
|
||
``` | ||
ssh yourUsername@{{ site.workshop_host_login }} | ||
ssh -i ~/.ssh/key_{{ site.workshop_host }}_ed25519 yourUsername@{{ site.workshop_host_login }} | ||
``` | ||
{: .language-bash} | ||
|
||
or | ||
|
||
``` | ||
ssh -i ~/.ssh/key_{{ site.workshop_host }}_ed25519 yourUsername@{{ site.workshop_host_login }} | ||
ssh -i ~/.ssh/key_{{ site.workshop_host }}_rsa yourUsername@{{ site.workshop_host_login }} | ||
``` | ||
{: .language-bash} | ||
|
||
or | ||
or if SSH keys have not been enabled | ||
|
||
``` | ||
ssh -i ~/.ssh/key_{{ site.workshop_host }}_rsa yourUsername@{{ site.workshop_host_login }} | ||
ssh yourUsername@{{ site.workshop_host_login }} | ||
``` | ||
{: .language-bash} | ||
|
||
|
||
``` | ||
{% include /snippets/01/login_output.{{ site.workshop_host_id }} %} | ||
``` | ||
|