linux_wiki:access_remote_systems_using_ssh

This is an old revision of the document!


Access Remote Systems Using SSH

General Information

Using Secure Shell (SSH), Secure Copy (SCP), and Secure File Transfer Protocol (SFTP).


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"

Copy new file from local system to remote system

scp ~/newfile.txt user@10.0.0.1:/home/user/newdir/

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

  • linux_wiki/access_remote_systems_using_ssh.1456803493.txt.gz
  • Last modified: 2019/05/25 23:50
  • (external edit)