exercises:2015_uzh_molsim:ssh
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
exercises:2015_uzh_molsim:ssh [2015/05/04 12:04] – yakutovich | exercises:2015_uzh_molsim:ssh [2020/08/21 10:15] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Working on remote computers with SSH ====== | + | -====== Working on remote computers with SSH ====== |
The [[http:// | The [[http:// | ||
Line 11: | Line 11: | ||
Once you have a user name on the remote computer (ask your teaching assistant), you can connect to it: | Once you have a user name on the remote computer (ask your teaching assistant), you can connect to it: | ||
<code bash> | <code bash> | ||
- | ssh -X studentXX@pcihopt3.uzh.ch | + | ssh -X studentXX@tcopt3.chem.uzh.ch |
</ | </ | ||
The '' | The '' | ||
- | < | ||
- | - connect to pcihopt3 and test gnuplot and VMD | ||
- | </ | ||
<note tip> | <note tip> | ||
Line 31: | Line 28: | ||
* Install [[https:// | * Install [[https:// | ||
* Connect to the internet via UZH VPN | * Connect to the internet via UZH VPN | ||
- | * Open terminal | + | * Open terminal: hit '' |
+ | * ssh -X studentXX@tcopt3.chem.uzh.ch | ||
Windows | Windows | ||
Line 37: | Line 35: | ||
* Install the [[http:// | * Install the [[http:// | ||
* Connect to the internet via UZH VPN | * Connect to the internet via UZH VPN | ||
- | * Configure PuTTY and Xming as described [[http://www.math.umn.edu/systems_guide/putty_xwin32.html|here]] | + | * Configure PuTTY and Xming as described [[https://wiki.utdallas.edu/wiki/display/ |
</ | </ | ||
+ | |||
+ | < | ||
+ | |||
+ | - Connect to tcopt3. This will be your working space for all exercises. | ||
+ | - Change the default password to a personal one using command: | ||
+ | <code bash> | ||
+ | passwd | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | |||
+ | |||
====== File transfer ====== | ====== File transfer ====== | ||
Line 44: | Line 54: | ||
Since you are connecting to the machine for the first time, this directory will be basically empty. | Since you are connecting to the machine for the first time, this directory will be basically empty. | ||
- | Let's fill it with some useful data: Copy the '' | + | Let's fill it with some useful data. A directory is provided on the home page as a [[http:// |
+ | <code bash> | ||
+ | tar xf intro.tar | ||
+ | </ | ||
+ | For Windows you can use [[http:// | ||
+ | |||
+ | |||
+ | Copy the '' | ||
< | < | ||
pwd # print your home directory | pwd # print your home directory | ||
exit # exit ssh connection | exit # exit ssh connection | ||
- | scp -r intro exer01@pcihopt3.uzh.ch:/ | + | scp -r intro studentXX@tcopt3.chem.uzh.ch:/ |
</ | </ | ||
- | < | ||
- | |||
- | - The files required for the introduction part are also provided on the home page as a [[http:// | ||
- | - Copy the tar archive to the remote machine and extract it using '' | ||
- | - Try some of the previous exercises on the remote computer. | ||
- | </ | ||
<note tip> | <note tip> | ||
Line 69: | Line 80: | ||
This works just analogously: | This works just analogously: | ||
< | < | ||
- | scp -r exer01@pcihopt3.uzh.ch:/ | + | scp -r studentXX@tcopt3.chem.uzh.ch . # copy directory from remote computer to the current |
</ | </ | ||
+ | |||
+ | <note tip> | ||
+ | |||
+ | There is also a possibility to download the archive intro.tar directly to the tcopt3 server via the following command: | ||
+ | |||
+ | <code bash> | ||
+ | wget http:// | ||
+ | mv exercises: | ||
+ | </ | ||
+ | </ | ||
exercises/2015_uzh_molsim/ssh.1430741093.txt.gz · Last modified: 2020/08/21 10:15 (external edit)