For instance, lets suppose that you want to access the central clientada-18. In this case just start the VPN client and then open a terminal and enter following command:
2) Open WinSCP and use the following settings under “Basic”, replacing “username” and “password” with your D-MATH details
3) Next we want to save our login details. Under “Stored sessions” click on “save” and enter an appropriate name, e.g. sftpmath. Save with “OK” then click on Login. Next time you use this program just double-click on the stored session name
4) The first time you connect to sftpmath.math.ethz.ch, the security key must be accepted, click Yes here
5) After logging in, your local windows home directory is on the left and your D-MATH home is on the right. To download/upload a file, just double-click it
Mac OS X
1) One of the SFTP-Clients for Mac OS X is called Cyberduck and can be downloaded from cyberduck.io; unzip the file and drag-and-drop Cyberduck into the Applications Folder.
2) Start the application, click on “Open Connection” and enter following information:
Drop-Down Menu: SFTP (SSH File Transfer Protocol)
Server : sftpmath.math.ethz.ch
Username : your username
Password : your password
[x] Add to Keychain (<== up to you)
More Options:
Path : home
[ ] Use Public Key Authentiation (<== up to you)
3) Click on “Connect” and then accept the host key fingerprint by also checking the “Always” checkbox.
Commandline
Follow these steps.
1) Open a terminal (xterm, gnome-terminal, …) and
2) Login
name@shell# sftp username@sftpmath.math.ethz.ch
3) On the first login, you will be asked to accept the sftpmath public server key, this should be accepted with “yes” (more about ssh key fingerprints at: ssh-key-fingerprints):
The authenticity of host 'sftpmath (129.132.119.199)' can't be established.
RSA key fingerprint is SHA256:o8jYLjJZIkG8+V474HcSdUVJTvSjYOYT3qQi8+8kFtE.
Are you sure you want to continue connecting (yes/no)?
then you will be asked for your D-MATH password:
Welcome to the 'sftp'-, 'scp'-, 'rsync'-, 'unison'-, 'svn'- & 'git'-server of
the Mathematics Department of ETH Zurich.
Your directories:
home : your 'home' directory (~)
www : your 'www' directory (~/www)
ftp : your 'ftp' directory (~/ftp)
=> ex.: type "cd home".
username@sftpmath.ethz.ch's password:
After having logged in you can access your home, ftp and www dirctories. To download a file, use the command “get“. To upload a file from the local directory where you logged in from, use the command “put“.
Following other commands can also be used on the sftpmath server:
cp, ls, mv, rm, scp, help, ...
An alternative to logging in interactively to the sftpmath server and using the above-mentioned sftp commands, is using scp. To download a file abc.zzz from the home directory on sftpmath to a local directory: