Recently requested by the company, the need for remote transmission and backup of file data, wrote an article on the SSH, SCP and rsync application configuration of the whole process, may be too wordy, but mainly to want to do not miss each process
Recently requested by the company, the need for remote transmission and backup of file data, wrote an article on the SSH, SCP and rsync application configuration of the whole process, may be too wordy, but mainly to want to do not miss each process
Configure the SSH service to log on to the Linux server using the certificate
Common authentication methods for logging on to a Linux server through SSH (Secure Shell) include passwords and certificates. From the security perspective, we recommend
CentOS 6.5 under Install, configure, and start SSH Remote Access1. Log in to the CentOS 6.5 system, log in with the root user, or perform a su or Su-or su root or su-root switch to the root user for non-root users.2. Check to see if SSH is installed
1. Run the following command to install sshUbuntu: $ sudoapt-getinstallopenssh-serveropenssh-client $ sudoapt-getinstallopenssh-serveropenssh-clientCentOS: $ sudoyuminstallopenssh-serveropenssh-
1. Install ssh
Run the following command in Ubuntu:
$
CentOS SSH installation and configuration sshlinuxSSH is short for SecureShell, developed by the IETF Network team (NetworkWorkingGroup); SSH is a security protocol built on the application layer and transport layer. Traditional network service
/* Traditional network service programs, such as FTP, pop, and telnet, are inherently insecure because they transmit passwords and data in plain text on the network, people with ulterior motives can easily intercept these passwords and data. In
CentOS SSH installation and configuration sshlinuxSSH is short for Secure Shell, developed by the IETF Network Working Group. SSH is a security protocol established on the application layer and transport layer. Traditional network service programs,
1. Use rsync + ssh software for regular file backup and Incremental backup, but not for real-time backup, so the effect is not very good.Server A (ip: 2.2.2.135 ):[Root @ CentOS ~] # Ifconfig eth0 -- View IP addressesEth0 Link encap: Ethernet HWaddr
Another small trick, using the expect scripting language to implement SSH automatic connection to the server, you can automatically enter the password. Because every time using SSH root@xx.xx.xx.xx connection server, you have to manually enter the
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.