> Hi,
>
> I have a Windows program that I use (Called
> 'puTTY' to SSH from a Windows workstation
> to a Linux server. This program works with all
> of the Red Hat Linux and UnixWare 7 servers
> that I have here at the office, and works with
> my client's machines as well, saving for one
> particular Red Hat 7 server.
>
> I tried loading the PuTTY program on a Windows
> workstation on the same LAN IP Block as the Linux
> server itself. There is Samba on this machine, and the
> Windows work station is able to connect to it fine.
>
> However, when I try to SSH to the Linux server
> using root and the correct password, I get the
> message 'Access Denied', even when I can SSH in to
> this Linux server from another Linux server which is
> also on the same LAN !!
>
> Also, when I am logged onto this troublesome machine,
> I can SSH to the Linux server at my office accross the
> WAN, but I cannot SSH back from that location to the
> offending Linux machine. In otherwords, the command-line
> SSH only works in one direction. I could not find
> anything in /etc/hosts.deny that could cause this.
>
> Does anyone know what can be causing this?
>
> Thanks !
>
> Jason
>

I can think of two possibilities.  One is a firewall rule.  The other is an
ssh setting, something along the lines of denying access to root, even with a
correct password.  I forget the exact syntax, but IIRC it is self-explanatory
when you see it.  Try grepping the ssh config file(s) for "root".

Step one:  Try logging in as someone other than root.  If it works, then check
the ssh config, as above.  (Heck, check it anyway).

Step two:  Review your firewall logs to see if anything is getting blocked
to/from either machine during an attempt.  If your firewall is not logging,
you may be able to figure it out with the -L -n flags on the firewall command.
(I know it works with iptables, not sure about ipchains).  What I sometimes do
is:

iptables -L -v -n >x.1
[do whatever I am testing, then]
iptables -L -v -n >x.2
diff x.1 x.2

Just be aware that anything else that comes along during the testing will show
up, too.

Step three:  Relax, have a beer and a hot dog, watch some fireworks, and
tackle it after the Holiday?  (just kidding...  I don't even know if you are
in the U.S.)   ;)

Happy Fourth of July to you all, anyway.

Regards,
Jim


_______________________________________________
Seawolf-list mailing list
[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/seawolf-list

Reply via email to