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.

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:
    16
    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:
    16
    Location:
    India
    is the ssh bound to a specific IP...and the IP of domain.com and servername.host.com is different???..check it...
     
  3. Jeff75

    Jeff75 Well-Known Member

    Joined:
    Apr 11, 2003
    Messages:
    555
    Likes Received:
    0
    Trophy Points:
    16
    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:
    16
    Location:
    India
    Check the ListenAddress in sshd_config.
     
Loading...

Share This Page