How to store SSH host key in IntelliJ IDEA

后端 未结 8 866
慢半拍i
慢半拍i 2020-12-14 15:03

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

8条回答
  •  借酒劲吻你
    2020-12-14 15:32

    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.

提交回复
热议问题