From: dhk <dhkuhl@optonline.net>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] ssh problem
Date: Sat, 26 Feb 2011 06:05:19 -0500 [thread overview]
Message-ID: <4D68DE6F.4060002@optonline.net> (raw)
In-Reply-To: <201102260813.26008.michaelkintzios@gmail.com>
On 02/26/2011 03:13 AM, Mick wrote:
> On Saturday 26 February 2011 07:49:44 Adam Carter wrote:
>>> The nc command does nothing when run from the same host I'm trying to
>>> ssh in to.
>>
>> Ok so you may not have an ssh problem (so ignore the ssh specific stuff for
>> now) you have a network problem. It will be either routing or firewalling.
>> If you can ping the box, then its a firewall problem. So, try pinging it
>> first, and if that works then you know that routing is in place and its a
>> firewall problem. If that doesn't work try traceroute to see how far you
>> can get, and the last hop may provide clues as to why you can access it by
>> sending an ICMP message. Post back what you find.
>
> Depending on configuration of routers and firewalls ICMP packets may be
> dropped, so if plain ping/traceroute fails use httping and tcptraceroute (or
> traceroute -T -p 22)
I don't know why I would have a firewall or network problem, the set up
I have has been here for 8+ years. The setup is like this. In the
basement the cable internet comes in and into a cable modem. Then an
RJ45 out of the cable modem into an 8-port NETGEAR Router/Switch.
Upstairs is a hub with three computers connected and this hub is
connected to the switch in the basement. The only problem I ever had
was when the dhcp address changed, then it needed to be added to the
PORT FORWARDING section of the switch with port 22.
Remember I can still log in remotely from Redhat and Suse boxes that
weren't updated with the new openssh.
When ssh'ing in from a remote updated Gentoo box the "Read from socket
failed: Connection reset by peer" message is displayed. This message is
not displayed when trying to ssh in from inside the network.
Alright, back to the task at hand. When I tell the switch to "Respond
to Ping on Internet WAN Port" the ping statistics are good: 3 packets
transmitted, 3 received, 0% packet loss, time 2007ms.
I'm not sure where to go from here.
Is there anything in the sshd_config or ssh_config files that I need?
After the upgrade the new files were merged with the current.
Thanks
dhk
next prev parent reply other threads:[~2011-02-26 11:10 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-22 11:43 [gentoo-user] ssh problem dhk
2011-02-22 12:37 ` Alan McKinnon
2011-02-22 13:24 ` dhk
2011-02-22 13:30 ` Mick
2011-02-22 14:19 ` dhkuhl
2011-02-22 14:51 ` Mick
2011-02-23 8:42 ` Joost Roeleveld
2011-02-24 13:17 ` dhk
2011-02-24 13:53 ` Mick
2011-02-24 18:09 ` dhk
[not found] ` <201102241201.12178.matt@deploylinux.net>
2011-02-24 21:51 ` dhk
2011-02-24 23:30 ` Mick
2011-02-25 1:08 ` dhk
2011-02-25 2:30 ` Stroller
2011-02-25 12:09 ` dhk
2011-02-25 23:08 ` Mick
2011-02-26 7:49 ` Adam Carter
2011-02-26 8:13 ` Mick
2011-02-26 11:05 ` dhk [this message]
2011-02-26 13:23 ` Adam Carter
2011-02-24 23:26 ` Mick
2011-02-25 10:36 ` Adam Carter
2011-02-25 12:12 ` dhk
2011-02-25 12:45 ` Alex Schuster
2011-02-26 0:09 ` Mark Shields
-- strict thread matches above, loose matches on Subject: below --
2019-03-10 7:25 [gentoo-user] Ssh problem Philip Webb
2019-03-10 10:31 ` Nils Freydank
2021-12-26 16:42 [gentoo-user] ssh problem Philip Webb
2021-12-26 16:55 ` Branko Grubić
2021-12-26 17:00 ` Neil Bothwick
2021-12-26 18:07 ` Michael
2021-12-26 20:11 ` Neil Bothwick
2021-12-27 11:03 ` Philip Webb
2021-12-26 19:20 ` Grant Taylor
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4D68DE6F.4060002@optonline.net \
--to=dhkuhl@optonline.net \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox