Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Can't connect to Linux Box' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Can't connect to Linux Box
Authored by: DarrylTang on Jun 22, '01 09:23:58AM

Since upgrading to 10.0.4, I can't connect to my trusty Redhat Linux box.
It may or may not be the problem referred to in the post, but here's
the error messages I am getting:

bash-2.05$ ssh -l myname -v linuxbox
OpenSSH_2.9p1, SSH protocols 1.5/2.0, OpenSSL 0x0090581f
debug1: Reading configuration data /etc/ssh_config
debug1: Seeded RNG with 22 bytes from programs
debug1: Seeded RNG with 3 bytes from system calls
debug1: Rhosts Authentication disabled, originating port will not be trusted.
debug1: restore_uid
debug1: ssh_connect: getuid 501 geteuid 501 anon 1
debug1: Trying again...
debug1: Trying again...
debug1: Trying again...
Secure connection to linuxbox refused.
debug1: writing PRNG seed to file /Users/myname/.ssh/prng_seed

I tried the option 1 fix (blowfish) listed in the post, to no avail.
Haven't tried the other two possible fixes yet. I don't think that
OSX is even communicating with the Linux Box, as nothing shows up
in the Linux Box's log files when I try to connect.

I'll post a solution when I find one.



[ Reply to This | # ]
Can't connect to Linux Box
Authored by: DarrylTang on Jun 22, '01 07:49:53PM

I haven't found a fix yet, but I have more insight into the problem.
If I use an IP address instead of an alphanumeric URL, everything works
fine. So, ssh -l myname 192.0.0.1 works, but
ssh -l myname linuxbox.com doesn't work. Strange.

I am using a /etc/hosts file, with OSX configured to use it.

I'll post again when I have more info.



[ Reply to This | # ]
Solution to this Problem
Authored by: Ian C on Sep 18, '01 06:35:52AM
I was having the same problem so I looked around and I found this then this.

To use his advice followthese instructions up to: " ... cd openssh-2.9p2" and then insert:

*-*-darwin*)
       cat >> confdefs.h 
into the file "configure*" using a tab before cat and then run continue with the stepwise instructions. Hope that helps someone.
     

[ Reply to This | # ]