User Tools

Site Tools


exercises:2019_uzh_acpc2:login

Differences

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

Link to this comparison view

Last revisionBoth sides next revision
exercises:2019_uzh_acpc2:login [2019/04/09 08:24] – created jglanexercises:2019_uzh_acpc2:login [2019/04/09 08:28] jglan
Line 20: Line 20:
     * on Microsoft Windows: you need to install [[http://sourceforge.net/projects/xming/files/latest/download|XMing]]     * on Microsoft Windows: you need to install [[http://sourceforge.net/projects/xming/files/latest/download|XMing]]
   * a file transfer tool to copy files from/to the server:   * a file transfer tool to copy files from/to the server:
-    * on Linux: put ''%%sftp://tcopt3.chem.uzh.ch%%'' as the address in your file browser and you should be able to browse your home directory after logging in+    * on Linux: put ''%%sftp://tcopt2.chem.uzh.ch%%'' as the address in your file browser and you should be able to browse your home directory after logging in
     * on Mac OS X/OSX/macOS Sierra: use [[https://cyberduck.io/|Cyberduck]]     * on Mac OS X/OSX/macOS Sierra: use [[https://cyberduck.io/|Cyberduck]]
     * one Windows: use [[https://winscp.net/|WinSCP]] or [[https://cyberduck.io/|Cyberduck]]     * one Windows: use [[https://winscp.net/|WinSCP]] or [[https://cyberduck.io/|Cyberduck]]
Line 29: Line 29:
   * Connect to Internet (use VPN when not on the UZH network)   * Connect to Internet (use VPN when not on the UZH network)
   * Open a terminal (Konsole, xterm or similar)   * Open a terminal (Konsole, xterm or similar)
-  * Connect to the server by entering the command: ''ssh -X studentXX@tcopt3.chem.uzh.ch''+  * Connect to the server by entering the command: ''ssh -X studentXX@tcopt2.chem.uzh.ch''
  
  
Line 36: Line 36:
   * Connect to Internet (use VPN when not on the UZH network)   * Connect to Internet (use VPN when not on the UZH network)
   * Open a X-Windows terminal in the X11 application if you want to run graphical applications on the server, otherwise use the pre-installed //Terminal// application or an alternative like //iTerm2//   * Open a X-Windows terminal in the X11 application if you want to run graphical applications on the server, otherwise use the pre-installed //Terminal// application or an alternative like //iTerm2//
-  * Connect to the server by entering the command: ''ssh -X studentXX@tcopt3.chem.uzh.ch''+  * Connect to the server by entering the command: ''ssh -X studentXX@tcopt2.chem.uzh.ch''
  
 ==== Login using Windows ==== ==== Login using Windows ====
Line 43: Line 43:
  
   - Start the application PuTTY from the Windows menu (in the folder PuTTY)   - Start the application PuTTY from the Windows menu (in the folder PuTTY)
-  - Fill in the //Host Name//: ''tcopt3.chem.uzh.ch''+  - Fill in the //Host Name//: ''tcopt2.chem.uzh.ch''
   - Set //Connection type// to ''SSH''   - Set //Connection type// to ''SSH''
-  - Type ''tcopt3'' as the name of the session below Saved Sessions and save the settings a first time+  - Type ''tcopt2'' as the name of the session below Saved Sessions and save the settings a first time
   - In the Category tree on the left side, select //Connection > Data// and enter the username you have been given in the lecture in the field //Auto-login username//   - In the Category tree on the left side, select //Connection > Data// and enter the username you have been given in the lecture in the field //Auto-login username//
   - Select the tab ''Connection > SSH > X11'' from the ''Category'' list and enable the option ''Enable X11 Forwarding''   - Select the tab ''Connection > SSH > X11'' from the ''Category'' list and enable the option ''Enable X11 Forwarding''
Line 56: Line 56:
   * Start Xming (optional, only required if you want to run graphical applications on the server)   * Start Xming (optional, only required if you want to run graphical applications on the server)
   * Start Putty   * Start Putty
-  * Double click the session ''tcopt3'' to start the connection+  * Double click the session ''tcopt2'' to start the connection
   * Enter (username and) password as requested   * Enter (username and) password as requested
  
Line 225: Line 225:
 and accept the defaults proposed and do no set a password. and accept the defaults proposed and do no set a password.
  
-Upload the public key **from your local machine** to tcopt3:+Upload the public key **from your local machine** to tcopt2:
  
 <code> <code>
-$ scp ~/.ssh/id_rsa.pub studentXX@tcopt3.chem.uzh.ch:~/+$ scp ~/.ssh/id_rsa.pub studentXX@tcopt2.chem.uzh.ch:~/
 </code> </code>
  
-Now login to ''tcopt3.chem.uzh.ch'' and move the uploaded public key to the right place and set the access permissions correct:+Now login to ''tcopt2.chem.uzh.ch'' and move the uploaded public key to the right place and set the access permissions correct:
  
 <code> <code>
Line 242: Line 242:
  
 <code> <code>
-$ ssh -i ~/.ssh/id_rsa studentXX@tcopt3.chem.uzh.ch+$ ssh -i ~/.ssh/id_rsa studentXX@tcopt2.chem.uzh.ch
 </code> </code>
  
Line 269: Line 269:
  
   - Restart //PuTTY//   - Restart //PuTTY//
-  - Select the //Session// ''tcopt3'' and press //Load//+  - Select the //Session// ''tcopt2'' and press //Load//
   - Select //Connection > SSH > Auth//   - Select //Connection > SSH > Auth//
   - Use the //Browse...// button in //Authentication parameters// to selected the ''condensed_matter.ppk'' you generated earlier   - Use the //Browse...// button in //Authentication parameters// to selected the ''condensed_matter.ppk'' you generated earlier
Line 282: Line 282:
  
 <code> <code>
-Host tcopt3 +Host tcopt2 
-  HostName tcopt3.chem.uzh.ch+  HostName tcopt2.chem.uzh.ch
   User studentXX   User studentXX
 </code> </code>
  
-after which you will be able to connect to ''tcopt3'' simply by using+after which you will be able to connect to ''tcopt2'' simply by using
  
 <code> <code>
-$ ssh tcopt3+$ ssh tcopt2
 </code> </code>
  
Line 296: Line 296:
  
 <code> <code>
-Host tcopt3 +Host tcopt2 
-  HostName tcopt3.chem.uzh.ch+  HostName tcopt2.chem.uzh.ch
   User studentXX   User studentXX
   IdentityFile ~/.ssh/id_rsa   IdentityFile ~/.ssh/id_rsa
exercises/2019_uzh_acpc2/login.txt · Last modified: 2020/08/21 10:15 by 127.0.0.1