Secure FTP
In order to transfer files between your own computer and the DTU servers, you need an sftp program.
These programs create an encrypted connection between your computer and the DTU servers
and make it possible to securely transfer files through this connection.
There is not one good sftp program that can be used for
all operating systems. Because of this, the programs for
the different operating systems are described below.
gFTP in Linux
Open gFTP, write login.gbar.dtu.dk in the Host field. Write your
databar user name in the User field. Port and Pass can be empty for now.
Next to the Pass field, choose SSH2 from the drop-down box. Click the
Connect button (to the left of the Host field); gFTP will ask for your
databar password. The window is divided in two parts: your own homedir
to the left, and your G-Bar homedir to the right.
WinSCP in Windows
WinSCP is an sftp client for Windows, which makes it easy to transfer files through a secure connection.
Fugu in OSX
When you open Fugu, you can choose which server you wish to create a
connection to under Connect to on the right-hand side — for instance
login.gbar.dtu.dk. Below this you write your username. You need
not fill in the rest of the information, you can just continue by clicking
Connect. You may be asked to accept the server's key — just accept it.
Then type your password to log in to the server. You will have
your home directory on DTU in the right side of the window, and your home directory on
your computer on the left side of the window.
Command-line SCP
On Linux and Mac systems you have a terminal, which you can also use to
send files using SCP. To send a file to e.g. the G-Bar, you would use
the following command:
scp [file] [uid]@login.gbar.dtu.dk:[remote path]
To transfer a directory you would use the -r flag:
scp -r [directory] [uid]@login.gbar.dtu.dk:[remote path]
If you want to transfer something to your home directory, you need not
define a remote path, but you must still remember the colon after the
host name!
Install
Read more
Back to the main page
|