Find the answer to your Linux question:
Results 1 to 2 of 2
Hey guys, had some problems with setting up Linux on my virtual machine as I cannot connect with putty (connection gets refused) to it but now I guess I figured ...
  1. #1
    Just Joined!
    Join Date
    Mar 2010
    Posts
    5

    netstat shows no proper IP (0.0.0.0) for port 22 ?

    Hey guys,

    had some problems with setting up Linux on my virtual machine as I cannot connect with putty (connection gets refused) to it but now I guess I figured my problem out, just not the way how to solve it .

    If I do netstat -nap | grep :22 I get the following output:

    [[ see attachment ]]

    Shouldn`t there be some kind of LAN IP instead of 0.0.0.0?

    Does anyone have a possible solution for that? Checked iptables and such, they are not causing it.

    Regards and thanks in advance.
    Attached Images Attached Images

  2. #2
    Linux Enthusiast scathefire's Avatar
    Join Date
    Jan 2010
    Location
    Western Kentucky
    Posts
    616
    0.0.0.0 is a wildcard adddress in IPV4. If you want it bound to a particular address you should try using the ListenAddress option in your sshd config
    linux user # 503963

Posting Permissions

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