Access Remote Systems Using SSH
General Information
Using Secure Shell (SSH), Secure Copy (SCP), and Secure File Transfer Protocol (SFTP).
SSH
SSH Connect to another system
ssh user@10.0.0.1
Create a new directory on a remote system
ssh user@10.0.0.1 "mkdir newdir"
SCP
Copy new file from local system to remote system
scp ~/newfile.txt user@10.0.0.1:/home/user/newdir/
SFTP
Connect to remote system using SFTP
sftp user@10.0.0.1
SFTP: Download file from remote system to local machine
sftp> get file1
SFTP: Upload file from local machine to remote system
sftp> put ~/localfile.txt
SFTP: Close remote connection
sftp> exit