How to store SSH host key in IntelliJ IDEA

Viewed 62690

When using SSH as the connection for IDEA's git integration, IDEA keeps asking to store the host's rsa signature in the host key database. Pressing Yes works, but does not store the key in a database, the next time the connection is used, IDEA comes with the same question. Pressing No makes the connection fail.

I can't seem to find any configuration for IDEA's SSH connectivity, nor does google supply any useful results... Any thoughts on how to get rid of the key store dialogue?

Using:

IntelliJ IDEA 10.5.1 with JDK 1.6.0_22 on Windows XP

MySysGit 1.7.6 with both its bin/ and mingw/bin folders in %PATH%

"git.exe" as the git executable in IDEA

"IDEA ssh" as the SSH Executable in IDEA

openssh-server 1:5.5p1-6 (Debian Squeeze) on the server side

8 Answers

Easy solution,
In the IDE
Tools-->Deployment-->options Scroll down, SFTP Advanced Options (IDE level settings)

Change add new host key to known_known hosts to always

Change deployment settings

Open Terminal and run below given command SSH key issue will be resolved.

git config --global http.sslVerify false
Related