I'm working with a vendor to pull logs into the AWS Transfer Family SFTP. When running the RSync process, the vendor receives the following error:
Reason: protocol version mismatch -- is your shell clean?; (see the rsync man page for an explanation); rsync error: protocol incompatibility (code 2) at compat.c(178) [sender=3.1.2]
I can manually connect to the instance via SFTP and everything works. When I try to connect via plain SSH, I get the following log messages. Am I missing something that is causing the failure?
Incoming packet #0x7, type 52 / 0x34 (SSH2_MSG_USERAUTH_SUCCESS)
Event Log: Access granted
Event Log: Opening main session channel
Outgoing packet #0x7, type 90 / 0x5a (SSH2_MSG_CHANNEL_OPEN)
Outgoing raw data at 2023-07-18 14:04:00
Incoming raw data at 2023-07-18 14:04:00
Incoming packet #0x8, type 80 / 0x50 (SSH2_MSG_GLOBAL_REQUEST)
Incoming packet #0x9, type 4 / 0x04 (SSH2_MSG_DEBUG)
Incoming packet #0xa, type 4 / 0x04 (SSH2_MSG_DEBUG)
Event Log: Remote debug message: SFTP: key options: agent-forwarding port-forwarding pty user-rc x11-forwarding
Event Log: Remote debug message: SFTP: key options: agent-forwarding port-forwarding pty user-rc x11-forwarding
Incoming raw data at 2023-07-18 14:04:01
Incoming packet #0xb, type 91 / 0x5b (SSH2_MSG_CHANNEL_OPEN_CONFIRMATION)
Event Log: Opened main channel
Outgoing packet #0x8, type 98 / 0x62 (SSH2_MSG_CHANNEL_REQUEST)
Outgoing packet #0x9, type 98 / 0x62 (SSH2_MSG_CHANNEL_REQUEST)
Outgoing raw data at 2023-07-18 14:04:01
Event Log: Remote side unexpectedly closed network connection