Differences
This shows you the differences between two versions of the page.
linux_wiki:access_remote_systems_using_ssh [2016/02/29 22:38] billdozor [SFTP] |
linux_wiki:access_remote_systems_using_ssh [2019/05/25 23:50] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== 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 | ||
- | <code bash> | ||
- | ssh user@10.0.0.1 | ||
- | </ | ||
- | |||
- | Create a new directory on a remote system | ||
- | <code bash> | ||
- | ssh user@10.0.0.1 "mkdir newdir" | ||
- | </ | ||
- | |||
- | ---- | ||
- | |||
- | ===== SCP ===== | ||
- | |||
- | Copy new file from local system to remote system | ||
- | <code bash> | ||
- | scp ~/ | ||
- | </ | ||
- | |||
- | ---- | ||
- | |||
- | ===== SFTP ===== | ||
- | |||
- | Connect to remote system using SFTP | ||
- | <code bash> | ||
- | sftp user@10.0.0.1 | ||
- | </ | ||
- | |||
- | \\ | ||
- | SFTP: Download file from remote system to local machine | ||
- | <code bash> | ||
- | sftp> get file1 | ||
- | </ | ||
- | |||
- | \\ | ||
- | SFTP: Upload file from local machine to remote system | ||
- | <code bash> | ||
- | sftp> put ~/ | ||
- | </ | ||
- | |||
- | \\ | ||
- | SFTP: Close remote connection | ||
- | <code bash> | ||
- | sftp> exit | ||
- | </ | ||
- | |||
- | ---- | ||