Wiki source code of Wie kopiere meine Daten auf der lxhalle auf meinen privaten Rechner ?
Last modified by Aysegül Omus on 2026/05/13 16:33
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | = Data transfer between Rechnerhalle and your private computer = | ||
| 2 | |||
| 3 | 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. | ||
| 4 | |||
| 5 | {{toc/}} | ||
| 6 | |||
| 7 | |||
| 8 | == 1. [[Shell>>http://de.wikipedia.org/wiki/Unix-Shell]] - Commands == | ||
| 9 | |||
| 10 | To copy a file between those computers, the **scp** program can be used. | ||
| 11 | |||
| 12 | |||
| 13 | * Copy data: private **computer → Rechnerhalle** | ||
| 14 | ** copy a file into the ##/Pictures## directory in the Rechnerhalle {{{ scp <file name> CIT-Login@lxhalle.cit.tum.de:~/Pictures}}} | ||
| 15 | ** Copy a directory into the ##/Pictures## directory in the Rechnerhalle: {{{scp -r <directory name> CIT-Login@lxhalle.cit.tum.de:~/Pictures}}} | ||
| 16 | * Copy data: **Rechnerhalle → private computer** | ||
| 17 | ** Copy a file out of ##the /Pictures## directory in the Rechnerhalle {{{scp CIT-Login@lxhalle.cit.tum.de:~/Pictures/<file name>.}}} | ||
| 18 | ** Copy a directory out of the ##/Pictures## directory in the Rechnerhalle, {{{scp -r CIT-Login@lxhalle.cit.tum.de:~/Pictures/<directory name>}}}{{{.}}} | ||
| 19 | |||
| 20 | |||
| 21 | Another option for data transfer is the **rsync** program, which has some useful features, especially for transferring large amounts of data. | ||
| 22 | |||
| 23 | * 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. | ||
| 24 | * In addition, the download process is shown in percent | ||
| 25 | |||
| 26 | |||
| 27 | * Copy data: **Private computer → Rechnerhalle** | ||
| 28 | ** copa a file into the ##/Pictures## directory in the Rechnerhalle {{{rsync -P <file name> cit-Login@lxhalle.cit.tum.de:~/Pictures}}} | ||
| 29 | ** Copy a directory into ##the /Pictures## directory in the Rechnerhalle. {{{rsync -r -P <directory name> CIT-Login@lxhalle.cit.tum.de:~/Pictures}}} | ||
| 30 | * Copy data: | ||
| 31 | ** Copy a file out of the /Pictures directory in the Rechnerhalle, rsync -P CIT-Login@lxhalle.cit.tum.de:~~/Pictures/<filename>. | ||
| 32 | ** Copy a directory out of the /Pictures directory in the Rechnerhalle, rsync -r -P CIT-Login@lxhalle.cit.tum.de:~~/Pictures/<directory name>. | ||
| 33 | * 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 }}} | ||
| 34 | |||
| 35 | {{html wiki="true"}} | ||
| 36 | <hr /> | ||
| 37 | {{/html}} | ||
| 38 | |||
| 39 | |||
| 40 | == 2. Programs with a graphical user interface == | ||
| 41 | |||
| 42 | === 2.1. [[Cyberduck>>http://cyberduck.ch/]] - Mac OS X === | ||
| 43 | |||
| 44 | Start Cyberduck | ||
| 45 | |||
| 46 | * Press the //Open Connection// Icon in the top left corner | ||
| 47 | * In the following window: | ||
| 48 | ** choose //SFTP// | ||
| 49 | ** //Server// = lxhalle.cit.tum.de | ||
| 50 | ** //Username// = Your cit-Login (e.g., like muster or musterma on the screenshot) | ||
| 51 | ** //Password// = the corresponding password | ||
| 52 | * Press **//Connect//** | ||
| 53 | |||
| 54 | |||
| 55 | Confirm the following dialogue by selecting Allow, then check the Always box. | ||
| 56 | |||
| 57 | |||
| 58 | Then you can see your own home directory in the Rechnerhalle. | ||
| 59 | |||
| 60 | * Now you can copy files and directories by dragging and dropping. | ||
| 61 | |||
| 62 | {{html wiki="true"}} | ||
| 63 | <hr /> | ||
| 64 | {{/html}} | ||
| 65 | |||
| 66 | === 2.2. [[Gigolo>>https://www.uvena.de/gigolo/download.html]] - Ubuntu === | ||
| 67 | |||
| 68 | Ubuntu Version 16.04 LTS, which is also used on the computers in the Rechnerhalle. | ||
| 69 | |||
| 70 | * Navigate to Application -> System and choose Gigolo. Press the icon with the two monitors. | ||
| 71 | |||
| 72 | |||
| 73 | Please type the following in the //Connect to Server// - Window: | ||
| 74 | |||
| 75 | * | ||
| 76 | ** //Service type// = SSH | ||
| 77 | ** //Server// = lxhalle.cit.tum.de | ||
| 78 | ** //Port// = //22// | ||
| 79 | ** //User Name// = Your CIT - Login | ||
| 80 | * Press //**Connect**.// | ||
| 81 | |||
| 82 | Now, please enter your CIT password. | ||
| 83 | |||
| 84 | |||
| 85 | You should now see a window with the content of your root directory. (##/##) | ||
| 86 | |||
| 87 | * A shortcut for this connection has been created on your desktop, which you can easily use next time to connect with the computer. | ||
| 88 | * Your data is in this directory: sftp://musterma@lxhalle.in.tum.de/**u**/**halle**/**musterma**/**home_at.** | ||
| 89 | * Now you can copy and paste your chosen file using the mouse. | ||
| 90 | |||
| 91 | You can access the SFTP file using the **application -> System -> Gigolo**. | ||
| 92 | |||
| 93 | |||
| 94 | ---- | ||
| 95 | |||
| 96 | Creating How to we used Windows 10 x64. | ||
| 97 | |||
| 98 | === 2.3. [[WinSCP>>http://winscp.net/eng/index.php]] - Windows === | ||
| 99 | |||
| 100 | **{{html wiki="true"}}<span class='WYSIWYG_COLOR ' style='color:Blue'>[[winSCP portable>>https://winscp.net/eng/docs/portable]]</span>{{/html}}** | ||
| 101 | |||
| 102 | Install [[WinSCP>>http://winscp.net/eng/index.php]] (current version 5.7.3, status 20.11.2015) | ||
| 103 | |||
| 104 | * Start the program | ||
| 105 | * With //WinSCP **Anmeldung**//** → //Sitzung//**, enter the following: | ||
| 106 | ** //Computername// = lxhalle.cit.tum.de | ||
| 107 | ** //Port// = //22// | ||
| 108 | ** //Username// = Your CIT - Login | ||
| 109 | ** //Password// = Password for your CIT - Access | ||
| 110 | * You can press //save// to save the settings for your profile, which you can use again | ||
| 111 | * Press// **Anmelden**// | ||
| 112 | |||
| 113 | Eventually, you have to confirm the following with //a **yes**//. | ||
| 114 | |||
| 115 | |||
| 116 | You should now see the user interface with 2 windows side by side. | ||
| 117 | |||
| 118 | * The left window contains the files on your computer, and the right one the files in your home directory in the Rechnerhalle. | ||
| 119 | * Now you can copy a file by dragging and dropping. | ||
| 120 | |||
| 121 | |||
| 122 | A dialogue appears, prompting you to confirm the target directory again. | ||
| 123 | |||
| 124 | * Pressing **choose** lets you change the target directory. | ||
| 125 | * To copy the file, press **OK**. | ||
| 126 | |||
| 127 | |||
| 128 | ---- | ||
| 129 | |||
| 130 | -- [[Main.>>Main.MarekOrschewskiNe26gik]]alinaya - 16 Apr 2018-- |