Failed to connect to a remote server using SSH

更新时间:
复制 MD 格式

Error message: Please try again after changing the SSH library

Error scenarios

Cloud Toolkit lets you deploy applications to remote servers that use the Secure Shell (SSH) protocol. This error message may appear when you check the connection to a remote server, deploy an application, or upload a file.

Solution

Switch the SSH library from the default SSHJ to JSch in the Cloud Toolkit settings.

  • Eclipse
    1. Click the Alibaba Cloud Toolkit icon in the toolbar, and then click Preferences.
    2. In the navigation pane on the left, select Alibaba Cloud Toolkit > Appearance & Behavior > System Settings.
    3. Set SSH Library to JSch.
  • IntelliJ IDEA
    1. In the top menu bar, select Tools > Alibaba Cloud > Preferences.
    2. In the navigation pane on the left, select Alibaba Cloud Toolkit > Appearance & Behavior > System Settings.
    3. Set SSH Library to JSch.