1. Transfer the file /etc/hosts to 10.41.1.77/MNT /
[root@backup ~]# rsync-avz /etc/hostess-p 22′ [email protected]:/ MNT /
rsync: Failed to exec SSH No to the file or directory (2)
rsync error: error in the IPC code (code 14) at pipe. C (84) [sender = 3.0.6]
rsync: connection unexpectedly closed (0 bytes received so far) (sender)
rsync error: Error in IPC code (code 14) at io.c(600) [sender=3.0.6]
### # check the reason is that SSH client has not been installed ### # br>[root-backup MNT]# yum install openssh-counts-y
[root-@backup MNT]# rsync avz /etc/hosts-p 22′ [email protected]:/MNT/
The authenticity of host ‘10.41.1.77 (10.41.1.77)’ can ‘t be established.
RSA key fingerprint is: 85 4 f: when d: 41: e2: fb: eb: 88: e2: ba: ce: 4 e: 5 a: 49: c4.
Are you sure you want to continue connecting (yes/no)?Yes
Warning: Permanently added ‘10.41.1.77’ (RSA) to the list of known hosts.
[email protected]’s password:
bash: rsync: command not found: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: Remote command not found (code 127) at IO. C (600) [sender=3.0.6]
[root-@backup MNT]# rrm-qa rsync
rsync 3.0.6-12. El6.x86_64
prompt bash: rsync: Rsync program
client installer
[root-@nfs01 MNT]# yum install rsync-y
retransmit
[root-@backup MNT]# rsync-avz /etc/hosts-ssh-p 22′ [email protected]:/ MNT /
[email protected]’s password:
sending incremental file list
hosts
sent 196 bytes received 31 bytes 41.27 bytes/ SEC
total size is 309 speedup is 1.36
target computer check to see if the transmission was successful
[root@nfs01 MNT]# ls
hosts
chuan successfully
reproduced in: https://blog.51cto.com/11956937/2067602 p>
Read More:
- [error summary] Rsync remote synchronization: error password file must not be other accessible
- Solution: Rsync error: some files could not be transferred (code 23) at main. C (702)
- Rsync client synchronization error
- rsync error: error allocating core memory buffers
- Solutions to remote or adding SSH key errors
- ansible Q&A: Failed to connect to the host via ssh: ssh_exchange_identification and Authentication or per
- Docker run failed with the following error in logs, standard_ init_ linux.go:211 : exec user process caused “exec format error“
- SSH appears warning: remote host identification has changed!
- Error response from daemon: OCI runtime exec failed: exec failed: container_linux.go:345:
- SSH Remote ulimit does not work
- Failed to execute goal org.codehaus.mojo:exec-maven-plugin:3.0.0:exec (default-cli) on project Hello
- Failed connect to github.com:443 ; no error and the remote end hung up unexpectedly
- SSH suddenly fails to log in, and an error is reported: failed to start openssh daemon
- SSH connection to MAC server shows No route to host solution
- standard_init_linux.go:211: exec user process caused “exec format error”
- gcc: error trying to exec ‘cc1‘: execvp: No such file or directory
- [Error resolution] paramiko.ssh_exception.SSHException: Error reading SSH protocol banner setting
- Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.6.0
- Centos Failed to Modify the port of SSH: error: Bind to port 27615 on 0.0.0.0 failed: Permission denied.
- Can’t exec “aclocal”: No such file or directory