Data transfers using either scp, sftp, or ftp are available to observers. SCP and SFTP are the prefered methods for transfering data because they are more secure. Please observer the following guidelines when transferring data:

SCP Procedure (At Keck to External Host)

Please follow these steps to transfer data from a Keck machine to an outside machine using scp:
  1. Use the rlogin command to start a shell on a summit instrument computer. Note that running your scp session from a computer at HQ in Waimea will significantly reduce the transfer efficiency because the data will have to make an additional round trip from the summit to HQ before going to the enternal host machine.
  2. cd to your data directory. Use the "cd" command to move to your data directory. "cdata" is an alias to your data directory on an instrument machine. Note that data disks can be accessed using the syntax "/s/sdataXXX".
  3. Execute the scp command to transfer the data, as in
       scp *.fits staypuftmarshmellowman@gu.edu:myData/
  4. When the transfer completes, exit the rlogin session by typing "exit" at the command prompt.

SCP Procedure (at Keck via Laptop)

Observers can copy data directly to their laptops while at Keck. In this case, it's best to initiate the transfer from the laptop in order to avoid having to figure out the address of the laptop. If you have the scp program installed on your laptop, please follow these steps to pull data onto your laptop from a Keck machine:
  1. Open a window on your laptop and navigate to the directory where you would like to store your data.
  2. Execute the scp command to transfer the entire contents of your data directory to the current directory on your laptop, as in:
       scp -r account@host:/path/ .
    where account is the name of your observing account, host is the name of the instrument host, and path is the pathname to your data. For example, to copy data from the directory /sdata123/2010jan01/lris1 as user lris1, enter:
       scp -r lris1@lrisserver:/sdata123/2010jan01/lris1 .
  3. When the transfer completes, exit the rlogin session by typing "exit" at the command prompt.

SCP Procedure (from outside of Keck)

Observers can copy data to or from Keck from external machines (whether laptops or workstations) using scp. Please follow these steps to copy data from Keck computers to your external machine:
  1. Obtain access through the Keck firewall. Please contact your WMKO Support Astronomer for instructions.
  2. Open a window on your computer navigate to the directory where you would like to store your data.
  3. Execute the scp command to transfer the entire contents of your data directory to the current directory on your computer, as in:
       scp -r account@host:/path/ .
    where account is the name of your observing account, host is the name of the instrument host, and path is the pathname to your data. For example, to copy data from the directory /sdata123/2010jan01/lris1 as user lris1, enter:
       scp -r lris1@lrisserver:/sdata123/2010jan01/lris1 .

SFTP Procedure

Please follow these steps to transfer data using sftp:
  1. Use the rlogin command to start a shell on a summit instrument computer. Note that running your sftp session from a computer at HQ in Waimea will reduce the transfer efficiency.
  2. cd to your data directory. Use the "cd" command to move to your data directory. "cdata" is an alias to your data directory on an instrument machine. Note that data disks can be accessed using the syntax "/s/sdataXXX".
  3. Use the cd to move to the directory where you would like your data stored.
  4. Type
    put *.fits
    to transfer all of the FITS images in the directory.
  5. When the transfer has completed, you may use the command
    lcd directory
    to move to another directory on the Keck machine, and use put again to copy the data.
  6. When done transferring all files, type quit to end your FTP session.
  7. scp the data (ex: scp *.fits staypuftmarshmellowman@gu.edu:myData/)
  8. Exit the rlogin session by typing "exit" at the command prompt.

FTP Procedure

  1. Use the rlogin command to start a shell on a summit computer. Running your FTP session from a computer at HQ in Waimea will drastically reduce the transfer efficiency!
  2. cd to your data directory. Use the cd command to move to your data directory. "cdata" is an alias to your data directory on an instrument machine. Note that data disks can be accessed using the syntax /s/sdataXXX.
  3. Run the ftp command to start an FTP session.
  4. Use the command
    open my_home_site
    to open an FTP connection to your home site. Provide the proper account name and password to log in.
  5. Use the cd to move to the directory where you would like your data stored.
  6. Issue the command binary to set binary transfer mode.
  7. Issue the command prompt to turn off verification of each file transfer.
  8. Type
    put *.fits
    to transfer all of the FITS images in the directory.
  9. When the transfer has completed, you may use the command
    lcd directory
    to move to another directory on the Keck machine, and use put again to copy the data.
  10. When done transferring all files, type quit to end your FTP session.

Using FTP to transfer to a laptop with no FTP server