Skip to main content

Git Repositories That Have SSH2 Key With Password

Comments

3 comments

  • cPanelMichael
    Hello @inetbizo, If you entered an SSH clone URL, the system should automatically check for the remote server's public SSH host key. The system stores this key in the /home/user/.ssh/known_hosts file, where user represents your username. Can you verify the known_hosts file is setup correctly, and if so, review the documents below and let us know if you've followed all of the steps? Guide to Git - Set Up Access to Private Repositories - cPanel Knowledge Base - cPanel Documentation Thank you.
    0
  • inetbizo
    Error: "/usr/local/cpanel/3rdparty/bin/git" reported error code "128" when it ended: Warning: Permanently added 'github.com,192.30.253.112' (RSA) to the list of known hosts. Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.
    Repo fork is public git@github.com:denverprophitjr/minimal-mistakes.git
    (subdomains/jekyll:2.4)[denverpr@pluto ~]$ ssh-agent SSH_AUTH_SOCK=/tmp/ssh-EgaMvXZYj1Do/agent.19943; export SSH_AUTH_SOCK; SSH_AGENT_PID=19944; export SSH_AGENT_PID; echo Agent pid 19944;
    --- .bashrc --- if [ ! -S ~/.ssh/ssh_auth_sock ]; then eval `ssh-agent` ln -sf "$SSH_AUTH_SOCK" ~/.ssh/ssh_auth_sock fi export SSH_AUTH_SOCK=~/.ssh/ssh_auth_sock ssh-add -l > /dev/null || ssh-add
    If I CLI clone, it's fine. If I use the UX, I get that error code.
    0
  • cPanelMichael
    Hello @inetbizo, Can you open a
    0

Please sign in to leave a comment.