Datentransfer zwischen der Rechnerhalle und dem eigenen Rechner
Data transfer between Rechnerhalle and your private computer
This article explains how to transfer data between your home-directory in the Rechnerhalle and your private computer. Depending on the operating system, various options are shown.
1. Shell - Commands
To copy a file between those computers, the scp program can be used.
- Copy data: private computer → Rechnerhalle
- copy a file into the /Pictures directory in the Rechnerhalle scp <file name> CIT-Login@lxhalle.cit.tum.de:~/Pictures
- Copy a directory into the /Pictures directory in the Rechnerhalle: scp -r <directory name> CIT-Login@lxhalle.cit.tum.de:~/Pictures
- Copy data: Rechnerhalle → private computer
- Copy a file out of the /Pictures directory in the Rechnerhalle scp CIT-Login@lxhalle.cit.tum.de:~/Pictures/<file name>.
- Copy a directory out of the /Pictures directory in the Rechnerhalle, scp -r CIT-Login@lxhalle.cit.tum.de:~/Pictures/<directory name>.
Another option for data transfer is the rsync program, which has some useful features, especially for transferring large amounts of data.
- The option -P is useful during a connection abort. During a connection abort while downloading, the incomplete file is stored on the target computer. When repeating the copy command, the download resumes from where it left off.
- In addition, the download process is shown in percent
- Copy data: Private computer → Rechnerhalle
- copa a file into the /Pictures directory in the Rechnerhalle rsync -P <file name> cit-Login@lxhalle.cit.tum.de:~/Pictures
- Copy a directory into the /Pictures directory in the Rechnerhalle. rsync -r -P <directory name> CIT-Login@lxhalle.cit.tum.de:~/Pictures
- Copy data:
- Copy a file out of the /Pictures directory in the Rechnerhalle, rsync -P CIT-Login@lxhalle.cit.tum.de:~/Pictures/<filename>.
- Copy a directory out of the /Pictures directory in the Rechnerhalle, rsync -r -P CIT-Login@lxhalle.cit.tum.de:~/Pictures/<directory name>.
- The mentioned commands have a more extensive functionality. For more information, it is recommended to read the manpages (Manual Pages) of the commands - you can read those with a man in front of the command name, e.g., man rsync
2. Programs with a graphical user interface
2.1. Cyberduck - Mac OS X
Start Cyberduck
- Press the Open Connection Icon in the top left corner
- In the following window:
- choose SFTP
- Server = lxhalle.cit.tum.de
- Username = Your cit-Login (e.g., like muster or musterma on the screenshot)
- Password = the corresponding password
- Press Connect
Confirm the following dialogue by selecting Allow, then check the Always box.
Then you can see your own home directory in the Rechnerhalle.
- Now you can copy files and directories by dragging and dropping.
2.2. Gigolo - Ubuntu
Ubuntu Version 16.04 LTS, which is also used on the computers in the Rechnerhalle.
- Navigate to Application -> System and choose Gigolo. Press the icon with the two monitors.
Please type the following in the Connect to Server - Window:
-
- Service type = SSH
- Server = lxhalle.cit.tum.de
- Port = 22
- User Name = Your CIT - Login
- Press Connect.
Now, please enter your CIT password.
You should now see a window with the content of your root directory. (/)
- A shortcut for this connection has been created on your desktop, which you can easily use next time to connect with the computer.
- Your data is in this directory: sftp://musterma@lxhalle.in.tum.de/**u**/**halle**/**musterma**/**home_at.**
- Now you can copy and paste your chosen file using the mouse.
You can access the SFTP file using the application -> System -> Gigolo.
Creating How to we used Windows 10 x64.
2.3. WinSCP - Windows
Install WinSCP (current version 5.7.3, status 20.11.2015)
- Start the program
- With WinSCP Anmeldung → Sitzung, enter the following:
- Computername = lxhalle.cit.tum.de
- Port = 22
- Username = Your CIT - Login
- Password = Password for your CIT - Access
- You can press save to save the settings for your profile, which you can use again
- Press Anmelden
Eventually, you have to confirm the following with a yes.
You should now see the user interface with 2 windows side by side.
- The left window contains the files on your computer, and the right one the files in your home directory in the Rechnerhalle.
- Now you can copy a file by dragging and dropping.
A dialogue appears, prompting you to confirm the target directory again.
- Pressing choose lets you change the target directory.
- To copy the file, press OK.
Main.alinaya - 16 Apr 2018