Problem connecting a freebsd server using ssh

Lei Sun lei.sun at gmail.com
Thu Feb 23 08:14:12 PST 2006


Actually, both of them are releng_6-p4, and I had no problem
connecting in both directions before Freebsd_B is put into the data
center.

Any more help or suggestions would be gladly appreciated.

Thanks

Lei

On 2/23/06, wc_fbsd at xxiii.com <wc_fbsd at xxiii.com> wrote:
> At 03:50 AM 2/23/2006, Lei Sun wrote:
> >1. ssh from Freebsd_A to Freebsd_B: I got "Read from socket failed:
> >Connection reset by peer" error.
> >2. ssh from windows xp (putty) to Freebsd_B: logs me in fine
> >3. try to ssh from Freebsd_A to Freebsd_B again, got the same error
>
> I didn't did through your logs extensively.  But when I've run into
> similar problems recently, it's usually because one of the clients is
> using an older ( < v2) of the protocol.  At some point back in fBSD
> 5.x support for the less-secure v1 ssh protocol became disabled by default.
>
> Try editing /etc/ssh/sshd_config   and look for a "Protocol"
> option.  Try setting it to "Protocol 1,2"   However, the level one
> supposedly has some security holes, and you might not want to use it
> over the public Internet.  I just use it with my stupid windoze
> client that only does level one, to connect over our own LAN, so I don't care.
>
>    -Wayne
>
>


More information about the freebsd-questions mailing list