The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

ssh to cpanel using terminal issue

Discussion in 'Bind / DNS / Nameserver Issues' started by Hardy Pham, Jun 10, 2015.

  1. Hardy Pham

    Hardy Pham Registered

    Joined:
    Jun 10, 2015
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Irvine
    cPanel Access Level:
    Website Owner
    this is my first post, so i hope i'm posting in the correct topic. Anyways, im trying to ssh to my website's cpanel so that i can work on coding through my terminal... but.. it doesn't work.

    I created a public and private key and put the private key on my computer and tried to ssh (already chmod'd the private key), but i get the error saying:

    "ssh_exchange_identification: read: Connection reset by peer"

    my terminal prompt to ssh is:
    ssh -i id_rsa login_id@website_ip

    I literally followed step by step from this video:


    Any ideas?
     
    #1 Hardy Pham, Jun 10, 2015
    Last edited by a moderator: Jun 10, 2015
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    654
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello,

    Has your web hosting provider granted SSH access to your account, and have you authorized the key? If so, contact them to let them know that SSH access is failing.

    Thank you.
     
  3. Hardy Pham

    Hardy Pham Registered

    Joined:
    Jun 10, 2015
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Irvine
    cPanel Access Level:
    Website Owner
    yes i went and authorized the key and enabled ssh, so not sure why its not working.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    654
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page