Re: Configuring ssh on Red Hat Linux 7.3

From: Jean-David Beyer (jdbeyer@exit109.com)
Date: 05/14/02


From: Jean-David Beyer <jdbeyer@exit109.com>
Date: Mon, 13 May 2002 23:01:21 -0400

Nico Kadel-Garcia wrote:
>
> "Jean-David Beyer" <jdbeyer@exit109.com> wrote in message
> news:3CDFC60A.FC219DA9@exit109.com...
> > I have two machines running dialects of Red Hat Linux. My new machine
> > is named "valinux" and the old one is named "touchl". They are
> > connected by two NICs.
> >
> > The valinux machine runs a version of Red Hat Linux from VA Linux
> > Systems that they call 6.2.4.
> >
> > I just installed R.H.L. 7.3 on the touchl machine (that used to run
> > R.H.L. 6.0) and it basically works, but there are a bunch of problems.
> >
> > Each machine can ping the other, so the lower levels of connectivity
> > are there. I can look up the IP address of each machine from the other
> > using dig (but not nslookup).
> >
> > I can run the following command on touchl:
> >
> > valinux:jdbeyer[~]$ ssh -4 -X touchl
> > jdbeyer@touchl's password: [the password]
> > Last login: Mon May 13 08:28:20 2002 from touchl.localdomain
> > [jdbeyer@touchl jdbeyer]$
> >
> > so it works in one direction. When I try from the touchl machine,
> > though, I get:
> >
> > touchl:jdbeyer[~]$ ssh -4 -X valinux
> > jdbeyer@valinux's password: [the password]
> > Permission denied: please try again.
> >
> > I did type the correct password.
> >
> > /var/log/messages contains this as a result of the attempt:
> >
> > May 13 09:46:53 valinux sshd[22746]:
> > Failed password for jdbeyer from 192.168.1.201 port 1034
> > May 13 09:46:55 valinux sshd[22746]:
> > Connection closed by 192.168.1.201
> >
> > On valinux, file /usr/local/etc/ssh_config contains (other than
> > comments):
> >
> > # Be paranoid by default
> > Host *
> > ForwardAgent no
> > ForwardX11 no
> > FallBackToRsh no
> >
> > On touchl, file /etc/ssh/ssh_config contains (other than comments):
> >
> > Host *
> > ForwardX11 yes
>
> /etc/ssh/sshd_config ...

Thanks. But on which machine? The new one, or the old one?
Do I do it as myself or as root?

-- 
 .~.  Jean-David Beyer           Registered Linux User 85642.
 /V\                             Registered Machine    73926.
/( )\ Shrewsbury, New Jersey     http://counter.li.org 
^^-^^ 11:00pm up 4 days, 3 min, 3 users, load average: 2.08, 2.03,
2.00



Relevant Pages

  • Re: Configuring ssh on Red Hat Linux 7.3
    ... > The valinux machine runs a version of Red Hat Linux from VA Linux ... > Each machine can ping the other, so the lower levels of connectivity ... > Host * ... > ForwardX11 yes ...
    (comp.security.ssh)
  • Configuring ssh on Red Hat Linux 7.3
    ... is named "valinux" and the old one is named "touchl". ... The valinux machine runs a version of Red Hat Linux from VA Linux ... Each machine can ping the other, so the lower levels of connectivity ...
    (comp.security.ssh)
  • Re: Configuring ssh on Red Hat Linux 7.3
    ... >>> connected by two NICs. ... >>> The valinux machine runs a version of Red Hat Linux from VA Linux ... >>> Each machine can ping the other, so the lower levels of connectivity ... Only root can edit that file. ...
    (comp.security.ssh)