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
It seems Windows does not let IDEA change your personal settings as easily as one would expect. Making sure the host signature can be saved fixes the issue. To let IDEA do this, run IDEA as Administrator on Vista/Win7 or unset the “Protect my computer from unauthorized program activity” in XP’s Run As dialog just once. After making an SSH connection and saving the signature this fixes the annoying dialog. After saving the signature, IDEA accepts the host even when run as a mortal user.