[ale] what am I missing

Jeff Lightner jlightner at water.com
Mon Oct 26 16:13:28 EDT 2009


What happens if you try "telnet laptop 22" from the primary box?  

Are you hardwired to the laptop from the primary box or going through a
router/switch.  If the latter have you verified there is no firewall
config preventing outbound port 22 from the primary to the laptop?

You've verified the laptop ssh is listening on port 22?  (lsof -i :22)

Are you doing this ssh as root user?  Have you tried it using non-root
user?

The only time I've really seen issues going between two hosts when
networking wasn't an issue and port was listening is when there is a
security issue.  Make sure that each user's home directory is chmoded
755 so only the user can modify the home directory.  Make sure each
user's $HOME/.ssh is chmod 700 so only the user can view or change the
files.   I don't think this is your issue as normally rather than timing
out it would simply give you invalid login but it never hurts to check.

-----Original Message-----
From: ale-bounces at ale.org [mailto:ale-bounces at ale.org] On Behalf Of
Geoffrey
Sent: Monday, October 26, 2009 3:55 PM
To: Atlanta Linux Enthusiasts - Yes! We run Linux!
Subject: Re: [ale] what am I missing

Richard Also wrote:
> does "ssh 127.0.0.1" work on the laptop? What about ssh from laptop to

> the primary box? Are you positive "192.168.1.72" is correct?

I can ssh from the laptop to itself.
I can ssh from the laptop to my primary box

Yeah, just checked that again (about the fourth time. :) )

> 
> On Oct 26, 2009, at 3:13 PM, Geoffrey wrote:
> 
>> Jim Kinney wrote:
>>> run ssh -v to get more data fromthe ssh client end.
>> Yeah, tried that, wasn't much help:
>>
>> ssh  -v 192.168.1.72
>> OpenSSH_4.3p2, OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008
>> debug1: Reading configuration data /etc/ssh/ssh_config
>> debug1: Applying options for *
>> debug1: Connecting to 192.168.1.72 [192.168.1.72] port 22.
>> debug1: connect to address 192.168.1.72 port 22: Connection timed out
>> ssh: connect to host 192.168.1.72 port 22: Connection timed out
>>
>>> On laptop check var/log/secure
>> There's a /var/log/security.log, no help there.  There's also a
>> /var/log/security/ directory.  No help there either.
>>
>> This is so weird as my primary box is the same distro, never  
>> encountered
>> this issue.
>>
>>> On Mon, Oct 26, 2009 at 2:22 PM, Geoffrey
<lists at serioustechnology.com 
>>>> wrote:
>>>> Recent install of Mandriva on a laptop.  Trying to ssh to it from
my
>>>> primary box.  ssh eventually times out.  Firewall is not running,
>>>> selinux is not active.  sshd daemon is running.  It's definitely  
>>>> on the
>>>> network as I just updated it over the net.
>>>>
>>>> What am I missing???
>>>>
>>>> --
>>>> Until later, Geoffrey
>>>>
>>>> Those who would give up essential Liberty, to purchase a little
>>>> temporary Safety, deserve neither Liberty nor Safety.
>>>> - Benjamin Franklin
>>>> _______________________________________________
>>>> Ale mailing list
>>>> Ale at ale.org
>>>> http://mail.ale.org/mailman/listinfo/ale
>>>> See JOBS, ANNOUNCE and SCHOOLS lists at
>>>> http://mail.ale.org/mailman/listinfo
>>>>
>>>
>>>
>>
>> -- 
>> Until later, Geoffrey
>>
>> Those who would give up essential Liberty, to purchase a little
>> temporary Safety, deserve neither Liberty nor Safety.
>>  - Benjamin Franklin
>> _______________________________________________
>> Ale mailing list
>> Ale at ale.org
>> http://mail.ale.org/mailman/listinfo/ale
>> See JOBS, ANNOUNCE and SCHOOLS lists at
>> http://mail.ale.org/mailman/listinfo
> 
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo
> 


-- 
Until later, Geoffrey

Those who would give up essential Liberty, to purchase a little
temporary Safety, deserve neither Liberty nor Safety.
  - Benjamin Franklin
_______________________________________________
Ale mailing list
Ale at ale.org
http://mail.ale.org/mailman/listinfo/ale
See JOBS, ANNOUNCE and SCHOOLS lists at
http://mail.ale.org/mailman/listinfo
 
Proud partner. Susan G. Komen for the Cure.
 
Please consider our environment before printing this e-mail or attachments.
----------------------------------
CONFIDENTIALITY NOTICE: This e-mail may contain privileged or confidential information and is for the sole use of the intended recipient(s). If you are not the intended recipient, any disclosure, copying, distribution, or use of the contents of this information is prohibited and may be unlawful. If you have received this electronic transmission in error, please reply immediately to the sender that you have received the message in error, and delete it. Thank you.
----------------------------------



More information about the Ale mailing list