Using a Linux Shell and SSH/SFTP
If you are familiar with using CLE@R, then using a Linux Shell and SSH/SFTP will feel very familiar. To manipulate files, SSH into organization.rice.edu with the command
Code Block |
---|
language | bash |
---|
title | SSH Command |
---|
linenumbers | true |
---|
|
ssh username@organization.rice.edu |
To upload and download files from organization.rice.edu, use the following SFTP command
Code Block |
---|
language | bash |
---|
title | SFTP Commands |
---|
linenumbers | true |
---|
|
sftp username@organization.rice.edu
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.
Image Added
- Next enter your password. (Note: it will appear as if nothing is happening as you type your password, this is normal.)
Image Added
- Once you are into the system, you will be at your home directory, where you can manipulate files and folders.
Image Added
- To exit, type "exit" * and press enter.
Image Added
Using SFTP to Upload and Download Files/Folders
- Open another terminal or Linux shell and change directories to your local directory.
Image Added
- Use the SFTP command listed above to gain access to organization.rice.edu, then type in your password
Image Added
- Now you can use the PUT and GET commands to upload and download files/folders to organization.rice.edu 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" *.
Image Added