Copy Files

Note

A VPN connection is required to copy files. Also login.mis.mpg.de and hydra.mis.mpg.de are separate file systems. Make sure where (or from where) you’re going to copy it.

Linux

scp allows files to be copied to, from, or between different hosts. It uses ssh for data transfer and provides the same authentication and same level of security as ssh. That means you don’t have to log in to ssh to copy files.

Terminal

Examples:

  • Copy the file “test” from the remote host “login.mis.mpg.de” to your local machine.

scp your_username@login.mis.mpg.de:/usr/people/your_username/Documents/test /home/user/Desktop
  • Copy the file “test” from the local machine to the remote host “login.mis.mpg.de”.

scp test your_username@login.mis.mpg.de:/usr/people/your_username/Documents

If you want to copy a whole directory use “-r”.

  • Copy the directory “Documents” from the remote host “login.mis.mpg.de” to your local machine.

scp -r your_username@login.mis.mpg.de:/usr/people/your_username/Documents /home/user/Desktop

Client Solution

Install Filezilla

sudo apt-get install filezilla
  • Start the client.

  • In the upper left corner, click on File > Site Manager > New Site.

  • Fill in the required informations:

    • Host: login.mis.mpg.de or hydra.mis.mpg.de

    • Logon Type: Ask for password

    • Protocol: SFTP

    • User: Your MPI Username.

    filezilla1.png

  • Double-click on your newly created site so that window below appears.

filezilla2.png

  • Now you can easily drag and drop filesbetween the server and your local machine.

filezilla3.png

Windows

First of all you need to donwload the WinSCP Client for Windows.

winscp.png

Need some more installation details? Visit this installation guide.

After you’re done with the installation process you can setup the connection.

winscp2.png

As you can see the file protocol should stay on SCP. For the host name you can type in login.mis.mpg.de or hydra.mis.mpg.de. You can also leave the port number on default settings (22). Carry on below with your MPI user name and password, and press Login.

winscp3.png

Continue by pressing Yes. Now you can easily drag&drop files between the server and your local machine.

MacOS

If Cyberduck isn’t preinstalled please download it here.

Open the downloaded file and start the Cyberduck.app file.

cyberduck1.png

If the app cannot be found in the application menu/launchpad after the first start, just drag the file into it.

cyberduck2.png

Set the file protocol to SFTP and enter your MPI login information below.

cyberduck3.png

Allow the Unknown fingerprint.

Now you can easily drag&drop files between the server and your local machine.

cyberduck4.png