SSH host verification errors when `dev`ing a package from GitHub Enterprise with Julia 1.6.1

Excellent, thanks for the links.

  • Adding the host (developer.foobar.gov in my example) to JULIA_SSH_NO_VERIFY_HOSTS worked fine as a workaround.
  • I tried moving my ~/.ssh/known_hosts file away, then ran dev --local again and got this error message:
 (1.6.1-no_prefix) pkg> dev --local git@developer.foobar.gov:dingraha/MyTestPackage.git
     Cloning git-repo `git@developer.foobar.gov:dingraha/MyTestPackage.git`
SSH host verification: the server `developer.foobar.gov:22` is not a known host. Please run `ssh-keyscan developer.foobar.gov:22 >> /home/dingraha/.ssh/known_hosts` in order to add the server to your known hosts file and then try again.
ERROR: failed to clone from git@developer.foobar.gov:dingraha/MyTestPackage.git, error: GitError(Code:ERROR, Class:Net, user cancelled hostkey check)

Then I ran ssh-keyscan developer.foobar.gov >> /home/dingraha/.ssh/known_hosts, which appears to fix the issue.

Thanks again!

Daniel

4 Likes