我目前正在尝试使用rsync同步两台服务器之间的数据。 目标主机只能通过PAM代理访问。
当使用rsync -v -e ssh / local / pam_user @ target_user @ target_host @ pam_host
我得到以下错误: protocol version mismatch -- is your shell clean? (see the rsync man page for an explanation) rsync error: protocol incompatibility (code 2) at compat.c(174) [sender=3.0.9] protocol version mismatch -- is your shell clean? (see the rsync man page for an explanation) rsync error: protocol incompatibility (code 2) at compat.c(174) [sender=3.0.9]
我也试过: $ ssh pam_user@target_user@target_host@pam_host false
并得到这个错误: PSPSD072E Perform session error occurred. Reason: CASCU110E Invalid terminal name was given [].. (Codes: -2074110, 2) PSPSD072E Perform session error occurred. Reason: CASCU110E Invalid terminal name was given [].. (Codes: -2074110, 2)
任何人都可以帮助,或者只是不可能通过PAM代理使用rsync?