Topics Map > Do-IT Yourself > Web

Using a Linux Shell and SSH/SFTP to Access

Using SSH to access

Using a Linux Shell and SSH/SFTP


To upload and download files from, use the following SFTP command

put local_file_to_server.txt
get remote_file_from_server.txt

Begin an SSH session
  • Enter the SSH command shown above. Entering this command will show a confirmation for the server's fingerprint. Type "yes" * to continue.

  • Next enter your password. (Note: it will appear as if nothing is happening as you type your password, this is normal.)

  • Once you are into the system, you will be at your home directory, where you can manipulate files and folders.

  • To exit, type "exit" * and press enter.

Using SFTP to Upload and Download Files/Folders
  • Open another terminal or Linux shell and change directories to your local directory.

  • Use the SFTP command listed above to gain access to, then type in your password

  • Now you can use the PUT and GET commands to upload and download files/folders to respectively. In this example, I uploaded a generic text file called "test_file" and I downloaded the current contents of my public_html folder to my local directory. To exit the session, once again, type "exit" *.

Keywords:SSH, web, RUF,   Doc ID:74302
Owner:Cynthia S.Group:Rice University
Created:2017-06-23 16:49 CDTUpdated:2017-06-23 16:49 CDT
Sites:Rice University
Feedback:  1   0