SSH from inside network takes forever!

Ask a Question related to Mac Networking, Design and Development.

  1. #1

    Default SSH from inside network takes forever!

    I have a server that acts as a firewall/router running Mac OS X.
    Recently it started playing up (not sure why...), and now ssh'ing
    into it takes around 30 seconds for it to respond (produce a password
    prompt) from inside my local network.

    However if I ssh to an external computer (which responds in a timely
    manner) and then ssh back to the server from outside, it responds
    immediately.

    Any thoughts on why my server is turning it's back on me? :-)

    Dale

    --
    [email]dstanbro@spam.o.matic.bigpond.net.au[/email]
    Dale Stanbrough Guest

  2. Similar Questions and Discussions

    1. opening folder takes forever
      We have the home directory for the users in the folder named "User". User can access access their directory with no problem. But browsing the User...
    2. Acrobat takes forever to save...
      after making a 3 character text change. "Replacing Font" appears at the bottom and the progress bar keeps "filling up" then starts over, and over...
    3. 5.0.5 Takes forever to boot
      All of the sudden, it is taking Acrobat a long time to boot up. It stays on the splash screen for a good two minutes before finally coming up. I am...
    4. Move to a frame takes forever
      Hi All: I have a movie in which, while the movie is NOT playing and no Lingo is running, moving to frame 4 takes about 15 seconds. This happens...
    5. This takes forever!!!!!!!!
      I know this is a lot of code, but I was wandering why this takes forever to render on the web page???? *************ASPX...
  3. #2

    Default Re: SSH from inside network takes forever!

    In article <bg6n12$dcu$1@pcls4.std.com>, [email]tony@aplawrence.com[/email] wrote:
    > Reverse DNS. The server is trying to resolve your host name. No doubt
    > it is querying internet servers and quite naturally coming up blank.
    >
    > You can either run a local DNS server or just add yourself to /etc/hosts.
    When i ssh to my server, i just use 192.168.0.1, so the DNS lookup
    shouldn't be happening...

    Dale

    --
    [email]dstanbro@spam.o.matic.bigpond.net.au[/email]
    Dale Stanbrough Guest

  4. #3

    Default Re: SSH from inside network takes forever!

    Dale Stanbrough <MrNoSpam@bigpond.net.au> wrote:
    > I have a server that acts as a firewall/router running Mac OS X.
    > Recently it started playing up (not sure why...), and now ssh'ing
    > into it takes around 30 seconds for it to respond (produce a password
    > prompt) from inside my local network.
    >
    > However if I ssh to an external computer (which responds in a timely
    > manner) and then ssh back to the server from outside, it responds
    > immediately.
    >
    > Any thoughts on why my server is turning it's back on me? :-)
    network hardware/firmware upgrades?
    We had some switches upspeeded recently, and several old Macs
    with 10Mhz ether ports that couldn't negotiate a 10Mhz semiduplex
    link got turned into tarpits :-(
    Peter KERR Guest

  5. #4

    Default Re: SSH from inside network takes forever!

    Dale Stanbrough <MrNoSpam@bigpond.net.au> wrote:
    >In article <bg6n12$dcu$1@pcls4.std.com>, [email]tony@aplawrence.com[/email] wrote:
    >> Reverse DNS. The server is trying to resolve your host name. No doubt
    >> it is querying internet servers and quite naturally coming up blank.
    >>
    >> You can either run a local DNS server or just add yourself to /etc/hosts.
    >When i ssh to my server, i just use 192.168.0.1, so the DNS lookup
    >shouldn't be happening...
    Yes, it should. It's a reverse DNS lookup: the server wants to know what
    YOUR host name is.

    Happens all the time. Probably in most networking FAQS; certainly
    is in mine:
    [url]http://aplawrence.com/SCOFAQ/scotec4.html#telnetslow[/url]


    --
    [email]tony@aplawrence.com[/email] Unix/Linux/Mac OS X resources: [url]http://aplawrence.com[/url]
    Get paid for writing about tech: [url]http://aplawrence.com/publish.html[/url]
    tony@aplawrence.com Guest

  6. #5

    Default Re: SSH from inside network takes forever!

    <tony@aplawrence.com> wrote in comp.sys.mac.comm:
    > Dale Stanbrough <MrNoSpam@bigpond.net.au> wrote:
    > >I have a server that acts as a firewall/router running Mac OS X.
    > >Recently it started playing up (not sure why...), and now ssh'ing
    > >into it takes around 30 seconds for it to respond (produce a password
    > >prompt) from inside my local network.
    >
    > >However if I ssh to an external computer (which responds in a timely
    > >manner) and then ssh back to the server from outside, it responds
    > >immediately.
    >
    > >Any thoughts on why my server is turning it's back on me? :-)
    >
    > Reverse DNS. The server is trying to resolve your host name. No doubt
    > it is querying internet servers and quite naturally coming up blank.
    >
    > You can either run a local DNS server or just add yourself to /etc/hosts.
    OS X uses the machines directory of the local domain instead of /etc/hosts.

    You use NetInfo Manager to make the entry; by default it works on the
    local domain.

    Anno
    Anno Siegel Guest

  7. #6

    Default Re: SSH from inside network takes forever!

    In article <bgo9mf$mop$5@mamenchi.zrz.TU-Berlin.DE>, Anno Siegel
    <anno4000@lublin.zrz.tu-berlin.de> wrote:
    > <tony@aplawrence.com> wrote in comp.sys.mac.comm:
    > > Dale Stanbrough <MrNoSpam@bigpond.net.au> wrote:
    > > >I have a server that acts as a firewall/router running Mac OS X.
    > > >Recently it started playing up (not sure why...), and now ssh'ing
    > > >into it takes around 30 seconds for it to respond (produce a password
    > > >prompt) from inside my local network.
    > >
    > > >However if I ssh to an external computer (which responds in a timely
    > > >manner) and then ssh back to the server from outside, it responds
    > > >immediately.
    > >
    > > >Any thoughts on why my server is turning it's back on me? :-)
    > >
    > > Reverse DNS. The server is trying to resolve your host name. No doubt
    > > it is querying internet servers and quite naturally coming up blank.
    > >
    > > You can either run a local DNS server or just add yourself to /etc/hosts.
    >
    > OS X uses the machines directory of the local domain instead of /etc/hosts.
    However, it checks /etc/hosts before checking NetInfo, as of Jaguar.

    --
    Jerry Kindall, Seattle, WA <http://www.jerrykindall.com/>

    When replying by e-mail, use plain text ONLY to make sure I read it.
    Due to spam and viruses, I filter all mail with HTML or attachments.
    Jerry Kindall Guest

  8. #7

    Default Re: SSH from inside network takes forever!

    Jerry Kindall <usenet2@jerrykindall.com> wrote in comp.sys.mac.comm:
    > In article <bgo9mf$mop$5@mamenchi.zrz.TU-Berlin.DE>, Anno Siegel
    > <anno4000@lublin.zrz.tu-berlin.de> wrote:
    >
    > > <tony@aplawrence.com> wrote in comp.sys.mac.comm:
    > > > Dale Stanbrough <MrNoSpam@bigpond.net.au> wrote:
    > > > >I have a server that acts as a firewall/router running Mac OS X.
    > > > >Recently it started playing up (not sure why...), and now ssh'ing
    > > > >into it takes around 30 seconds for it to respond (produce a password
    > > > >prompt) from inside my local network.
    > > >
    > > > >However if I ssh to an external computer (which responds in a timely
    > > > >manner) and then ssh back to the server from outside, it responds
    > > > >immediately.
    > > >
    > > > >Any thoughts on why my server is turning it's back on me? :-)
    > > >
    > > > Reverse DNS. The server is trying to resolve your host name. No doubt
    > > > it is querying internet servers and quite naturally coming up blank.
    > > >
    > > > You can either run a local DNS server or just add yourself to /etc/hosts.
    > >
    > > OS X uses the machines directory of the local domain instead of /etc/hosts.
    >
    > However, it checks /etc/hosts before checking NetInfo, as of Jaguar.
    Aha. That is interesting. Would that go for passwd and group too?
    You don't have to answer that if you say where to read up on it instead :)

    Anno
    Anno Siegel Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139