File Transfer To Clusters

From Cornell CAC Documentation

Jump to: navigation, search

Contents

File Transfer To Clusters

A single, central file server, storage01.cac.cornell.edu, serves all CAC user home directories. You can connect to this server in a variety of ways from any operating system to access your files.

From Linux

Secure Copy

Secure copy is a standard tool to copy files to and from remote hosts.

localhost$ scp localfile.dat username@linuxlogin3.cac.cornell.edu:remoteinput.dat
localhost$ scp username@linuxlogin3.cac.cornell.edu:results.dat localresults.dat 

Secure FTP

FTP is disabled for security reasons, but sftp's interface is nearly identical.

Samba Client

Type

smbclient //storage01.cac.cornell.edu/<user name> -U <user name>

Enter the password for your CAC account when prompted You will see the smb:\> prompt. You can now start transferring files between your local machine and CAC home directory similar to ftp client. Type help for more instructions.

-sh-3.2$ smbclient //storage01.cac.cornell.edu/<user name> -U <user name>
    Password: 
    Domain=[CTC_ITH] OS=[Unix] Server=[Samba 3.0.28-1.el5_2.1]
    smb: \> help
    

From Windows

Secure Copy

The people who make Putty provide a secure copy client called pscp. From the command prompt, type:

cmd> pscp localfile.dat username@linuxlogin3.cac.cornell.edu:remoteinput.dat
    <enter your username's password when prompted>
cmd> pscp username@linuxlogin3.cac.cornell.edu:results.dat localresults.dat 

Secure FTP

FTP is disabled for security reasons, but psftp's interface is nearly identical. From the command prompt, type:

cmd> psftp username@linuxlogin3.cac.cornell.edu
    <enter your username's password when prompted>
psftp> put localresults.dat results.dat
psftp> quit
Personal tools