SSH
Nathan England
nathan at nmecs.com
Tue Aug 12 18:07:52 MST 2014
When you ssh into the machine the second time is the problem, correct?
If you disconnect all ssh sessions can you then connect again? Or does it give
the same error?
If you reboot that computer it then lets you ssh in until you do the virtual
kernel file systems (mount --bind stuff) correct?
On Tuesday, August 12, 2014 06:01:42 PM Michael Havens wrote:
> Thanks Nathan. I tried all you suggested (one at a time) but none of the
> suggestions work. Any other tricks of the trade to try?
>
> :-)~MIKE~(-:
> On Tue, Aug 12, 2014 at 5:49 PM, Nathan England <nathan at nmecs.com> wrote:
> > Hi Michael,
> >
> > it sounds to me like somewhere your permissions got messed up or the ssh
> > server keys are invalid.
> >
> > Check the following:
> >
> > 1) Your bmike1 permissions should be 600 on the files inside .ssh and .ssh
> > itself should be 700
> > chmod 700 ~/.ssh
> > chmod 600 ~/.ssh/*
> >
> > 2) Maybe your hostname is in the /etc/hosts.deny file. Read that file on
> > the
> > machine you are ssh'ing to and make sure your other machines are not
> > listed
> > there.
> >
> > 3) Try recreating your ssh keys on the machine you are ssh'ing to.
> > rm /etc/ssh/*key*
> > ssh-keygen -A
> >
> > Try it now...
> >
> >
> > You ssh into the machine and certain metrics are read and then you are
> > mounting the virtual kernel file systems and that is when things change
> > and
> > you cannot access the machine a second time. Not sure off the top of my
> > head
> > why that would be except maybe something in /tmp or /dev is being over-
> > written. Anyway, hope something there helps.
> >
> > On Tuesday, August 12, 2014 04:24:26 PM Michael Havens wrote:
> > > ssh_exchange_identification: read: Connection reset by peer
> >
> > --
> > Regards,
> > Nathan England
> >
> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > NME Consulting Services http://www.nmecs.com
> > Nathan England ( nathan at nmecs.com )
> > Systems Administration / Web Application Development
> > Information Security Consulting
> > (480) 559.9681
> >
> > ---------------------------------------------------
> > PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
> > To subscribe, unsubscribe, or to change your mail settings:
> > http://lists.phxlinux.org/mailman/listinfo/plug-discuss
--
Regards,
Nathan England
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NME Consulting Services http://www.nmecs.com
Nathan England ( nathan at nmecs.com )
Systems Administration / Web Application Development
Information Security Consulting
(480) 559.9681
More information about the PLUG-discuss
mailing list