abstract:farber:system_access:linux

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
abstract:farber:system_access:linux [2018-05-24 10:56] sraskarabstract: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/Linux ======
  
 //This section uses the wiki's [[:#documentation-conventions|documentation conventions]].// //This section uses the wiki's [[:#documentation-conventions|documentation conventions]].//
  
-To initiate an SSH connection from a Linux system to the cluster's login (head) node, use+To initiate an SSH connection from a Mac/Linux system to the cluster's login (head) node, use
 the generic command  the generic command 
  
Line 13: Line 13:
 </code> </code>
  
-This **ssh** command is on your local system.  This example assumes you have a local command line interface, and have an X11 server running, for example, Mac/UNIX/Linux or cygwin/X (with the openssh client)+This **ssh** command is on your local system.  This example assumes you have a local command line interface, and are running X-Windows, for example, Mac/UNIX/Linux or cygwin/X (with the openssh client).
  
-<note tip>**Windows with PuTTY/Xming**: When using the recommended [[http://udeploy.udel.edu/software/putty-with-xming|PuTTY/Xming on Windows]] installation instructions, you create a saved session with the options to want to use every time you logon.  You can create as many saved sessions as needed with various options. 
-</note>   
- 
-<note tip>**Mac/UNIX/Lunix with command line SSH**: 
-When using the recommended setup for [[general/connect/ssh-command-line|command line SSH]], you can add a service that bundles options you want to use every time you logon or copy files. You can add as many services as needed with various options. 
-</note> 
  
 ====== 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).
 <code> <code>
-[trainf@mills ~]$ ssh-keygen+[trainf@farber ~]$ ssh-keygen
 Generating public/private rsa key pair. Generating public/private rsa key pair.
 Enter file in which to save the key (/home/1200/.ssh/id_rsa):  Enter file in which to save the key (/home/1200/.ssh/id_rsa): 
Line 75: Line 69:
 Your public key has been saved in /home/1200/.ssh/id_rsa.pub. Your public key has been saved in /home/1200/.ssh/id_rsa.pub.
 The key fingerprint is: The key fingerprint is:
-ba:b5:b6:0e:d9:71:f2:f9:9e:e7:17:39:57:6b:6b:d6 trainf@mills.hpc.udel.edu+ba:b5:b6:0e:d9:71:f2:f9:9e:e7:17:39:57:6b:6b:d6 trainf@farber.hpc.udel.edu
 The key's randomart image is: The key's randomart image is:
 +--[ RSA 2048]----+ +--[ RSA 2048]----+
Line 92: Line 86:
 with: with:
 <code> <code>
-[trainf@mills ~]$ ls -dl .ssh .ssh/*+[trainf@farber ~]$ ls -dl .ssh .ssh/*
 drwx------ 2 trainf everyone   36 Sep 16 16:53 .ssh drwx------ 2 trainf everyone   36 Sep 16 16:53 .ssh
 -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).
 <code> <code>
-[trainf@mills ~]$ ssh-add+[trainf@farber ~]$ ssh-add
 Enter passphrase for /home/1200/.ssh/id_rsa:  Enter passphrase for /home/1200/.ssh/id_rsa: 
 Identity added: /home/1200/.ssh/id_rsa (/home/1200/.ssh/id_rsa) Identity added: /home/1200/.ssh/id_rsa (/home/1200/.ssh/id_rsa)
Line 113: Line 107:
 You can list the keys in your SSH agent with: You can list the keys in your SSH agent with:
 <code> <code>
-[trainf@mills ~]$ ssh-add -l+[trainf@farber ~]$ ssh-add -l
 2048 ba:b5:b6:0e:d9:71:f2:f9:9e:e7:17:39:57:6b:6b:d6 /home/1200/.ssh/id_rsa (RSA) 2048 ba:b5:b6:0e:d9:71:f2:f9:9e:e7:17:39:57:6b:6b:d6 /home/1200/.ssh/id_rsa (RSA)
 </code> </code>
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.  Both mills and Farber have the script in **''/usr/bin/ssh-copy-id''** and the man page in **''/usr/share/man/man1/ssh-copy-id.1.gx''**.+Or you can copy the relatively simple shell executable (and man page) from a host that does have it installed.  Both farber and Farber have the script in **''/usr/bin/ssh-copy-id''** and the man page in **''/usr/share/man/man1/ssh-copy-id.1.gx''**.
  
 </note> </note>
Line 150: Line 144:
 "yes", after you verify the host name.  Then you will be asked for your password on the remote host. "yes", after you verify the host name.  Then you will be asked for your password on the remote host.
 <code> <code>
-[trainf@mills ~]$ ssh-copy-id jdoe@centos.css.udel.edu+[trainf@farber ~]$ ssh-copy-id jdoe@centos.css.udel.edu
 The authenticity of host 'centos.css.udel.edu (128.175.68.83)' can't be established. The authenticity of host 'centos.css.udel.edu (128.175.68.83)' can't be established.
 RSA key fingerprint is d2:f9:58:79:08:d6:18:22:3f:23:ac:4b:f4:a7:b9:3b. RSA key fingerprint is d2:f9:58:79:08:d6:18:22:3f:23:ac:4b:f4:a7:b9:3b.
  • abstract/farber/system_access/linux.1527173778.txt.gz
  • Last modified: 2018-05-24 10:56
  • by sraskar