SSH: Failed to read 1st key exchange packet

Here’s an explanation for the following error message: Established TCP/IP connection with SSH server FromServer: SSH-1.5-Cisco-1.25 numBytesRequested: 8 Connection closed by server. Failed to read data on SSH connection. Failed to read 1st key exchange packet Failed. The error message indicates that as soon as the TCP/IP socket connection was accepted by the SSH server, it then decided to disconnect. […]

Multiple SSH Tunnels – ODBC Connection

Question: Hi, I’m extremely interested in purchasing the Chilikat SSH dll. Let me describe my situation: I have several host sites (approximately 70 of them) that allow me to connect to their SSH servers. All of these sites have a database server (sitting on the same server as the ssh server) accepting connections on port 1937. I have been successful […]

SSH Tunneling (Port Forwarding)

SSH Port Forwarding (or tunneling) allows you to tunnel any TCP connection through an SSH server. For example, consider a database connection: A direct TCP connection: DbClient <—-TCP—-> DbServer An SSH tunneled connection: DbClient <—-TCP—-> SshClient <====SSH====> SshServer <—-TCP—-> DbServer In a tunneled connection, the application connects through an SshClient to an SSH server and starts a direct-tcpip channel, specifying […]

SSH direct-tcpip Port Forwarding (tunneling)

ASP: SSH Tunnel (Port Forwarding via direct-tcpip channel) SQL Server: SSH Tunnel (Port Forwarding via direct-tcpip channel) C#: SSH Tunnel (Port Forwarding via direct-tcpip channel) C++: SSH Tunnel (Port Forwarding via direct-tcpip channel) MFC: SSH Tunnel (Port Forwarding via direct-tcpip channel) C: SSH Tunnel (Port Forwarding via direct-tcpip channel) Delphi: SSH Tunnel (Port Forwarding via direct-tcpip channel) Visual FoxPro: SSH […]

SSH – Multiple Commands w/out Reconnect

Question: Hi, I’m evaluating Chilkat C++ SSH Library for My VC 9.0 Projects. I have a question: Your examples send only one command. I want to send several commands without reconnect. I experimented and found SendReqShell handles multiple commands execution, not SendReqExec. Can I have a more detailed sample about this? Answer: You may call SendReqExec multiple times on the […]

Bitvise WinSSHD request “dumb” PTY problem

I’ve found the following scenario when testing SSH shell with the Bitvise WinSSHD server. If a request for a “dumb” pseudo-terminal is sent via the Chilkat SSH component’s SendReqPty method, the WinSSHD server responds with a success status, however, it really fails. The SSHD log has the following error message: 000000000116 2008-11-19 16:29:41.185Z WinSSHD 5.01 [297] Warning Session thread 1014 […]

POP3 SSH Tunneling (Port Forwarding)

ASP: POP3 SSH Tunneling (Port Forwarding) SQL Server: POP3 SSH Tunneling (Port Forwarding) C#: POP3 SSH Tunneling (Port Forwarding) C++: POP3 SSH Tunneling (Port Forwarding) MFC: POP3 SSH Tunneling (Port Forwarding) C: POP3 SSH Tunneling (Port Forwarding) Delphi: POP3 SSH Tunneling (Port Forwarding) Visual FoxPro: POP3 SSH Tunneling (Port Forwarding) Java: POP3 SSH Tunneling (Port Forwarding) Perl: POP3 SSH Tunneling […]

SMTP SSH Tunneling (Port Forwarding)

ASP: SMTP SSH Tunneling (Port Forwarding) SQL Server: SMTP SSH Tunneling (Port Forwarding) C#: SMTP SSH Tunneling (Port Forwarding) C++: SMTP SSH Tunneling (Port Forwarding) MFC: SMTP SSH Tunneling (Port Forwarding) C: SMTP SSH Tunneling (Port Forwarding) Delphi: SMTP SSH Tunneling (Port Forwarding) Visual FoxPro: SMTP SSH Tunneling (Port Forwarding) Java: SMTP SSH Tunneling (Port Forwarding) Perl: SMTP SSH Tunneling […]

IMAP SSH Tunneling (Port Forwarding)

ASP: IMAP SSH Tunneling (Port Forwarding) SQL Server: IMAP SSH Tunneling (Port Forwarding) C#: IMAP SSH Tunneling (Port Forwarding) C++: IMAP SSH Tunneling (Port Forwarding) MFC: IMAP SSH Tunneling (Port Forwarding) C: IMAP SSH Tunneling (Port Forwarding) Delphi: IMAP SSH Tunneling (Port Forwarding) Visual FoxPro: IMAP SSH Tunneling (Port Forwarding) Java: IMAP SSH Tunneling (Port Forwarding) Perl: IMAP SSH Tunneling […]

IMAP SSH Tunneling (Port Forwarding)

These new examples demonstrate how to use IMAP in an SSH tunnel: ASP: IMAP SSH Tunneling (Port Forwarding) SQL Server: IMAP SSH Tunneling (Port Forwarding) C#: IMAP SSH Tunneling (Port Forwarding) C++: IMAP SSH Tunneling (Port Forwarding) MFC: IMAP SSH Tunneling (Port Forwarding) C: IMAP SSH Tunneling (Port Forwarding) Delphi: IMAP SSH Tunneling (Port Forwarding) Visual FoxPro: IMAP SSH Tunneling […]