Chilkat SSH – SendReqExec vs SendReqShell

Chilkat’s SSH class provides the ability to start a shell session by calling SendReqShell, or by calling QuickShell.  You can alternatively run a single remote command by calling SendReqExec. SendReqExec does the “exec” command, whereas SendReqShell (or QuickShell) starts an interactive shell session where bytes sent to the SSH server via methods such as ChannelSendString are the equivalent of keystrokes […]

Chilkat v9.5.0.97 Mitigates Vulnerability to the SSH Terrapin Attack

Chilkat v9.5.0.97 makes changes to mitigate the Terrapin attack problem. It does so by modifying the selection of the default algorithms in the following ways: chacha20-poly1305@openssh.com is no longer included by default. It can be re-added by specifying “+chacha20-poly1305@openssh.com” in the UncommonOptions property. We are going to keep the “-cbc” encryption modes because potentially too many servers would be affected […]

SSH/SFTP Public Key Authentication Fails w/ DSA Key and OpenSSH Server

If SSH public key authentication fails when using a DSA private key, it may be that the SSH server disallows using DSA private keys. If the contents of the Chilkat LastErrorText for methods AuthenticatePk or AuthenticatePwPk contains the following, then this could be the cause of the error: … Sent public-key request. AuthList: publickey,password Proceeding with publickey authentication… dssSigLen: 40 […]

Chilkat 5-Jan-2022 Remote SSH Commands on Cisco and Dell Force 10 Switches

What’s going on w/ Chilkat today… 1. User trying to execute remote SSH commands on two different switches:  One is a Cisco switch, the second is a Dell Force 10.   All working fine w/ Ssh.QuickCommand on the Cisco switch, but not the Dell Force 10.   The QuickCommand method as shown in the example at https://www.example-code.com/vbnet/ssh_execute_remote_commands.asp  is the equivalent of doing […]