Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

SSH Keys How-TO ?Help?

Discussion in 'General Discussion' started by Mysteerie, Dec 23, 2007.

  1. Mysteerie

    Mysteerie Well-Known Member

    Dec 29, 2003
    Likes Received:
    Trophy Points:
    I'm having a problem with SSH keys (they don't work out of the box correct?) I bilieve the error is in my sshd_conf, but if someone could assist me with what settings that should be uncommented that would be helpful.

    Anyways, just some history of what I did so far:

    Generated a passphraseless key within Server(A1). Took the public key (not the private, left the privat on the server itself) and transferred it to a file authorized_keys on Server(B2).

    Chmod that file to 600. Then ran the following command:

    ssh -v -i /root/.ssh/authorized_keys -p 1234

    First I still get asked for a passphrase (which is wierd since it's suppose to be passphraseless), then when I just press enter (to signify that there is no passphrase), I get the following error:

    Permission denied (publickey,gssapi-with-mic).

    So what do I need to get this working?

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice