SSH server installation and SSH implementation of file replication between Linux systems

Source: Internet
Author: User
Tags ssh server

1. Prerequisites

Assume that the IP on the server is 192.168.1.120

The client IP is 192.168.1.25

2, the server side of the installation of SSH server

sudo Install Openssh-server

2. Login server via SSH on client

SSH [Email protected] 192.168. 1.120

After logging in, you need to enter the server-side account password

3, the client and the server for file replication

1) Copy the files from the client to the server side, in the following format

SCP ./tt.txt [email protected]192.168. 1.120:/home/xxx/

2) Copy the file from the server side to the client, in the following format

SCP [Email protected] 192.168. 1.120:/home/xxx/file. txt.

SSH server installation and SSH implementation of file replication between Linux systems

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.