On Mon, Dec 22, 2008 at 9:08 PM, Hugh Brown <[email protected]> wrote:
>
>
> Mirko Vukovic wrote:
>>
>> Hello,
>>
>> I am having intermittent trouble logging into a remote linux machine
>> depending on the machine from which I am trying to log from.  I am
>> logging in from windows XP machines with cygwin and cygwin's ssh.
>>
>> - If I try to log in from my windows desktop to the rhel5 that sits
>> next to it, things work
>> - If I try to log in from my windows laptop from home, to the rhel5, I
>> get `Permission denied, please try again'
>> - If I first log into my windows desktop from my laptop, I can then
>> log into the rhel5 from my desktop.
>>
>> It seems to me that the rhel5 is refusing the connection from my
>> laptop because of the type of network connection or latency (pinging
>> from laptop to rhel5 is 200-300 msec and from windows desktop to rhel5
>> is < 5 msec), or some other such issue.  But does that make sense?
>>
>> The frustrating thing is that a few months ago (when I last attempted
>> this) I was able to log in remotely from my laptop, even from across
>> the pacific.
>>
>> Thanks,
>>
>> Mirko
>
>
> Check tcp_wrappers (/etc/hosts.allow and/or /etc/hosts.deny) and iptables
> for rules that deny access to remote networks but not local networks.

/etc/hosts.allow and hosts.deny do not list any machines whatsoever.
Is that OK?  Maybe this stuff is in another file?

As for iptables, I tried two or three times to read the relevant
chapter in RH Unleashed, and never got the concepts straight (I was
not trying very hard though).  Maybe I should try again.

>
> I'd also verify that you are using the correct username from your laptop.
>  If you aren't supplying one, it will likely default to the xp username.  If
> that user doesn't exist on the RH box, you'll get a Permission denied.

I guess that is the equivalent of `is the power on'.  It is :-)
>
> Hugh
>
> _______________________________________________
> rhelv5-list mailing list
> [email protected]
> https://www.redhat.com/mailman/listinfo/rhelv5-list
>

_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list

Reply via email to