unknown hostname

Posted on 2004-11-24
Last Modified: 2013-12-16 (i am sure it is correct) is the ip address of the machine i put red hat 9.0 on it. but i cannot ssh to. its saying host/servername not known. What should do
Question by:komlaaa

    Author Comment

    sorry if i did not make myself clear enough.
    i am able to ssh from machine with ip address BUT not to it.
    In another seems unknown from outside.
    LVL 87

    Expert Comment

    either your SSH Daemon isn't running on that machine or your firewall settings are blocking port 22.
    LVL 3

    Expert Comment

    I am going to assume this is a box on a cable modem. If this is the case you need a dynamic DNS client ( to one make the machine accessible from the Internet. Two as mentioned above  by rindi you need to make sure if you have a router in front of the box that it allows SSH connections through from the Internet. Then you should be all set because all default SSH installs will allow connections from (i.e anywhere). Hope this helps.

    LVL 3

    Expert Comment

    I need to ammend my above statement: "If this is the case you need a dynamic DNS client ( to one make the machine accessible from the Internet" It should read "If this is the case you need a dynamic DNS client ( to one make the machine accessible from the Internet by hostname otherwise you can continue to access by IP, provided your IP does not change.

    LVL 38

    Accepted Solution

    For RedHat Linux 9, login as root
    # service sshd start    <=== start sshd
    # chkconfig --level 2345 sshd on  <=== turn on sshd at boot time

    > seems unknown from outside.
    Your machine is not registered in your DNS domain, ask your sysadm or network administrator to add
    your hostname and IP address into your company's DNS.
    Before that, try "ssh" from other machine first.


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
    It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
    Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
    Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

    760 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now