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!

Cannot connect via SSH using site's domain name

Discussion in 'General Discussion' started by Jeff75, Jul 13, 2005.

  1. Jeff75

    Jeff75 Well-Known Member

    Joined:
    Apr 11, 2003
    Messages:
    555
    Likes Received:
    0
    Trophy Points:
    166
    I enabled SSH access for an account that I created on the server (no other accounts have access). For some reason I can't connect when I type "ssh domain.com" (it says 'connect to host domain.com port 22: Connection refused). If I ssh to servername.host.com it lets me. Can somoene tell me how to enable this for the domain name of the site that has been granted SSH access?
     
  2. nickb

    nickb Well-Known Member

    Joined:
    Feb 25, 2005
    Messages:
    347
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    India
    is the ssh bound to a specific IP...and the IP of domain.com and servername.host.com is different???..check it...
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Jeff75

    Jeff75 Well-Known Member

    Joined:
    Apr 11, 2003
    Messages:
    555
    Likes Received:
    0
    Trophy Points:
    166
    Yes, the IP addresses are different. Can you tell me where to check for this? Thanks!
     
  4. nickb

    nickb Well-Known Member

    Joined:
    Feb 25, 2005
    Messages:
    347
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    India
    Check the ListenAddress in sshd_config.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

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