Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
abstract:farber:system_access:linux [2018-05-24 10:56] – sraskar | abstract:farber:system_access:linux [2021-08-24 13:08] (current) – [Connecting to Farber from Mac/Linux] anita | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ==== Connecting to Farber from Mac/Linux ==== | + | ====== Connecting to Farber from Mac/ |
//This section uses the wiki's [[:# | //This section uses the wiki's [[:# | ||
- | To initiate an SSH connection from a Linux system to the cluster' | + | To initiate an SSH connection from a Mac/Linux system to the cluster' |
the generic command | the generic command | ||
Line 13: | Line 13: | ||
</ | </ | ||
- | This **ssh** command is on your local system. | + | This **ssh** command is on your local system. |
- | <note tip> | ||
- | </ | ||
- | |||
- | <note tip> | ||
- | When using the recommended setup for [[general/ | ||
- | </ | ||
====== SSH Command line mode ====== | ====== SSH Command line mode ====== | ||
Line 66: | Line 60: | ||
Here is an example session output where you accepted the default file was accepted, the hidden directory was created, and a non-empty passphrase was entered twice (not displayed). | Here is an example session output where you accepted the default file was accepted, the hidden directory was created, and a non-empty passphrase was entered twice (not displayed). | ||
< | < | ||
- | [trainf@mills ~]$ ssh-keygen | + | [trainf@farber |
Generating public/ | Generating public/ | ||
Enter file in which to save the key (/ | Enter file in which to save the key (/ | ||
Line 75: | Line 69: | ||
Your public key has been saved in / | Your public key has been saved in / | ||
The key fingerprint is: | The key fingerprint is: | ||
- | ba: | + | ba: |
The key's randomart image is: | The key's randomart image is: | ||
+--[ RSA 2048]----+ | +--[ RSA 2048]----+ | ||
Line 92: | Line 86: | ||
with: | with: | ||
< | < | ||
- | [trainf@mills ~]$ ls -dl .ssh .ssh/* | + | [trainf@farber |
drwx------ 2 trainf everyone | drwx------ 2 trainf everyone | ||
-rw------- 1 trainf everyone 1743 Sep 16 16:53 .ssh/id_rsa | -rw------- 1 trainf everyone 1743 Sep 16 16:53 .ssh/id_rsa | ||
Line 106: | Line 100: | ||
Here is an example session output where you enter the same passphrase you entered above (twice). | Here is an example session output where you enter the same passphrase you entered above (twice). | ||
< | < | ||
- | [trainf@mills ~]$ ssh-add | + | [trainf@farber |
Enter passphrase for / | Enter passphrase for / | ||
Identity added: / | Identity added: / | ||
Line 113: | Line 107: | ||
You can list the keys in your SSH agent with: | You can list the keys in your SSH agent with: | ||
< | < | ||
- | [trainf@mills ~]$ ssh-add -l | + | [trainf@farber |
2048 ba: | 2048 ba: | ||
</ | </ | ||
Line 143: | Line 137: | ||
to append the keys in your agent to the end of your remote authorized keys file. | to append the keys in your agent to the end of your remote authorized keys file. | ||
- | Or you can copy the relatively simple shell executable (and man page) from a host that does have it installed. | + | Or you can copy the relatively simple shell executable (and man page) from a host that does have it installed. |
</ | </ | ||
Line 150: | Line 144: | ||
" | " | ||
< | < | ||
- | [trainf@mills ~]$ ssh-copy-id jdoe@centos.css.udel.edu | + | [trainf@farber |
The authenticity of host ' | The authenticity of host ' | ||
RSA key fingerprint is d2: | RSA key fingerprint is d2: |