User Tools

Site Tools


techstaff:remote_access

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
techstaff:remote_access [2015/01/15 11:23] kauffmantechstaff:remote_access [2017/05/19 16:04] kauffman
Line 13: Line 13:
   * linux1.cs.uchicago.edu   * linux1.cs.uchicago.edu
   * linux2.cs.uchicago.edu   * linux2.cs.uchicago.edu
 +  * linux3.cs.uchicago.edu
  
 === Specs === === Specs ===
Line 33: Line 34:
 ==== Remote Terminal ==== ==== Remote Terminal ====
 We suggest using PuTTY, but there are other choices as well. We suggest using PuTTY, but there are other choices as well.
-File Transfer 
  
 +==== File Transfer ====
 +
 +=== Unix ===
 To move files between your local machine and a CS login machine, we recommend using scp (which uses the ssh protocol underneath). To move files between your local machine and a CS login machine, we recommend using scp (which uses the ssh protocol underneath).
 Unix Unix
Line 42: Line 45:
 For example: For example:
  
-    $ scp username@linux.cs.uchicago.edu:/etc/passwd ./passwd +    $ scp username@linux.cs.uchicago.edu:~/file.txt ./ 
-    passwd               100% |*****************************|  1088       00:00 +    file.txt               100% |*****************************|  1088       00:00 
- +=== Windows ===
-==== File Transfer ====+
  
 We suggest WinSCP, which presents a familiar drag-and-drop interface, with two sections: one shows your local filesystem, and the other shows the remote filesystem. We suggest WinSCP, which presents a familiar drag-and-drop interface, with two sections: one shows your local filesystem, and the other shows the remote filesystem.
Line 67: Line 69:
  
 ===== Advanced Usage ====== ===== Advanced Usage ======
-==== SSH Tunneling ==== 
  
-SSH Tunneling allows you to connect to internal CS servers, such as mysql (dbserver.cs.uchicago.edu), from outside our network. See our general documentation or task specific instructions: 
- 
-    Tunnel to mysql on dbserver from a Windows XP machine 
-    Tunnel to mysql on dbserver from a Linux or OS-X machine 
  
 ==== Passwordless Authentication ==== ==== Passwordless Authentication ====
Line 91: Line 88:
  
 However, if you do this, you have recreated the original problem you were trying to solve! You have just replaced typing an account password with typing a key passphrase every time you wish to authenticate. There is a solution though, that will make everyone happy, using programs called ssh-agent and keychain. Using them is the subject of the next section. However, if you do this, you have recreated the original problem you were trying to solve! You have just replaced typing an account password with typing a key passphrase every time you wish to authenticate. There is a solution though, that will make everyone happy, using programs called ssh-agent and keychain. Using them is the subject of the next section.
-Passphrase-protected SSH Keys using ssh-agent and keychain+ 
 +==== Passphrase-protected SSH Keys using ssh-agent and keychain ====
  
 ssh-agent is a program that runs in the background and keeps a decrypted copy of your private key in memory. Thus, you reduce the number of times you need to type in your passphrase from once per authentication event, to once every time the machine gets rebooted. ssh-agent is a program that runs in the background and keeps a decrypted copy of your private key in memory. Thus, you reduce the number of times you need to type in your passphrase from once per authentication event, to once every time the machine gets rebooted.
/var/lib/dokuwiki/data/pages/techstaff/remote_access.txt · Last modified: 2019/04/24 13:41 by kauffman

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki