When attempting to establish a connection using the Secure Shell (SSH) protocol to a server, the connection fails with an error indicating that the connection could not complete. This error affects both the SocketTools SSH component and file transfers using the SFTP (FTP+SSH) protocol.
Some servers have a default configuration that disables password authentication, which is required by the SSH component. To enable password authentication on a Linux system, perform the following steps:
1. Login under the system administrator (root) account
2. Edit the file /etc/ssh/sshd_config
3. Find the line that begins with “PasswordAuthentication”
4. Change the value from “no” to “yes”
5. Save the changes and restart the sshd service
Note that you may see some comments in the configuration file about enabling password authentication being insecure. This is only a potential issue with tunneled clear text passwords, and does not affect the security of the SSH connection established with our components. The SocketTools SSH and SFTP components never send the user credentials in clear text.