Unable to connect to a remote host using Terminal

Updated at:

Symptoms

If you use IntelliJ IDEA 2019.1 or a later version, you may encounter an error when you connect to a remote host from the Terminal in ACT.

Possible causes

The error message is shown in the following figure:

Secure Shell (SSH) authentication failed because the public key of the remote host has changed.

Solution

Open the ~/.ssh/known_hosts file and delete the corresponding public key.