Page 6 of 6 FirstFirst ... 456
Results 51 to 59 of 59

Thread: A n00b and her ssh. Help?

  1. #51
    Join Date
    Sep 2008
    Beans
    540
    Distro
    Kubuntu 12.04 Precise Pangolin

    Re: A n00b and her ssh. Help?

    Quote Originally Posted by CharlesA View Post
    Hrm. Can you post the output of this:

    Code:
    sudo lsof -i
    The relevant part of the list:

    Code:
    sshd      23927       root    3u  IPv4 438393      0t0  TCP *:22255 (LISTEN)
    sshd      23927       root    4u  IPv6 438395      0t0  TCP *:22255 (LISTEN)
    And that's the weird part. I know sshd is listening on the correct port.
    Registered Linux User #479009
    Friend-->Linux; 6 and counting...

  2. #52
    Join Date
    Sep 2008
    Beans
    540
    Distro
    Kubuntu 12.04 Precise Pangolin

    Re: A n00b and her ssh. Help?

    Interesting. It would seem that the problem isn't with my SSH setup at home; it's with my dynamic DNS provider. I have OpenDNS set up with my home network. My ddclient is properly updating my account at OpenDNS; IP address changes happen instantly. I have pointed my subdomain name (the one I chose to represent my home network) to the OpenDNS IP address.

    When I hit my home IP address directly, all is well. When I try to hit it through the FQDN as represented by OpenDNS, nada.

    What might be the problem? Obviously I need to figure it out before the next IP address switch at home, thanks to my Comcastic ISP.
    Registered Linux User #479009
    Friend-->Linux; 6 and counting...

  3. #53
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: A n00b and her ssh. Help?

    I didn't think openDNS did dynamic DNS.

    I've used dyndns.org for that.

    Does the FQDN resolve the the correct ip address?
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

  4. #54
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: A n00b and her ssh. Help?

    I didn't think openDNS did dynamic DNS.

    I've used dyndns.org for that.

    Does the FQDN resolve the the correct ip address?
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

  5. #55
    Join Date
    Sep 2008
    Beans
    540
    Distro
    Kubuntu 12.04 Precise Pangolin

    Re: A n00b and her ssh. Help?

    Quote Originally Posted by CharlesA View Post
    I didn't think openDNS did dynamic DNS.

    I've used dyndns.org for that.

    Does the FQDN resolve the the correct ip address?
    According to http://www.************/find_ip_addr..._a_website.php, yes. It resolves to one of the two IP addresses provided by OpenDNS (the one I pointed it to in the zone file); now, I am still a noob at this sort of configuration, so it's possible that I am overlooking something key. Still, the whole point of setting up a FQDN is to have a standard entry in all my putty/winscp/connectbot/whatever-uses-a-key apps.

    I am under the impression that you set up a domain (or subdomain, whatevs) to point to an IP address provided by a dynamic DNS provider. They then forward that FQDN to the IP address provided by whatever DD client you're running (and I'm running ddclient, which is configured properly and reporting my correct IP address to OpenDNS). Is this the case? If so, is the forwarding process stripping the headers or something?
    Registered Linux User #479009
    Friend-->Linux; 6 and counting...

  6. #56
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: A n00b and her ssh. Help?

    Try using dig to do a lookup of the domain names.

    dig www.somedomain.tld
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

  7. #57
    Join Date
    Sep 2008
    Beans
    540
    Distro
    Kubuntu 12.04 Precise Pangolin

    Re: A n00b and her ssh. Help?

    Quote Originally Posted by CharlesA View Post
    Try using dig to do a lookup of the domain names.

    dig www.somedomain.tld
    I did, but it only says that my domain name is pointed to the correct IP. Why use a different tool to do what I already know?
    Registered Linux User #479009
    Friend-->Linux; 6 and counting...

  8. #58
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: A n00b and her ssh. Help?

    Something isn't working right, as you said you can connect fine if you are using the ip address, but not if you use the domain name.

    If the domain name resolves to the correct IP there shouldn't be a problem.
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

  9. #59
    Join Date
    Sep 2008
    Beans
    540
    Distro
    Kubuntu 12.04 Precise Pangolin

    Re: A n00b and her ssh. Help?

    Quote Originally Posted by CharlesA View Post
    Something isn't working right, as you said you can connect fine if you are using the ip address, but not if you use the domain name.

    If the domain name resolves to the correct IP there shouldn't be a problem.
    I have a support ticket in to OpenDNS now to see why my FQDN resolves to the correct IP address but does not permit me to ssh into my home box.
    Registered Linux User #479009
    Friend-->Linux; 6 and counting...

Page 6 of 6 FirstFirst ... 456

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •