FRDB Archives

Freethought & Rationalism Archive

The archives are read only.


Go Back   FRDB Archives > Archives > IIDB ARCHIVE: 200X-2003, PD 2007 > IIDB Secular Community Forums (PRIOR TO JUN-2003)
Welcome, Peter Kirby.
You last visited: Today at 09:28 PM

 
 
Thread Tools Search this Thread
Old 06-12-2003, 08:19 AM   #1
Veteran Member
 
Join Date: Jun 2001
Location: Tax-Exempt Donor, SoP Loyalist
Posts: 2,191
Default Question about Linux & SSH

Does anyone know of a self-contained installation of SSH or OpenSSH for Linux?

My problem is that I have an out of date Linux (OpenLinux 2.2) and when I try to install these programs I have tons of unsatisfied dependencies. Is there an RPM that is a one-step install?

I know I'm looking for a Windows type install on a Linux box, while I should be learning to do this manually, but I'm a newbie and just need SSH to connect to my school server.

Installing a newer version of Linux w/SSH isn't an option because this computer is an obsolete piece of junk and I'm not going to risk losing this succesfull install.
mac_philo is offline  
Old 06-12-2003, 08:35 AM   #2
Senior Member
 
Join Date: Apr 2003
Location: baton rouge, la
Posts: 539
Default

I don't know what packaging system openlinux uses, rpm, .deb, or something else but here are some ideas.
If it uses rpm go search on rpmfind.net. You should be able to find the openssh client rpms there.
Otherwise, download the openssh source (you can search for it on freshmeat.net) and compile it yourself, it doesn't need much in the way of libraries or anything so it should compile fine on even a minimal install.
I think compiling it from source code is probably your best bet.

Try that and if you get stuck with something, post the errors/dependancies or problems you have and I'll reply with a solution.
Also, I would strongly recommend going on IRC and getting live free support in #linuxhelp. Get an irc client (mirc for windows, or xchat.org for windows, mac, or linux) and log on to the Undernet network. From there you can join the channel #linuxhelp and you'll find plenty of patient experts willing to walk you through the install and help with any problems you might have. Good place to go when it's 3 am and you're stuck with a question
faust is offline  
Old 06-12-2003, 10:01 AM   #3
Veteran Member
 
Join Date: Sep 2001
Location: .
Posts: 1,281
Default

For OpenLinux you will need to install from source, it isn't that difficult.

First check to see if you have openssl installed by typing "openssl version" it will need to be version 0.9.5 or higher.

If you dont then grab it from www.openssl.org
extract it with tar and enter the directory and type:
./configure
make
make install


Now grab openssh from www.openssh.com extract it with tar and enter the directory and type:
./configure
make
make install

Congratulations you now have openssh installed.
Kinross is offline  
Old 06-12-2003, 06:30 PM   #4
Veteran Member
 
Join Date: Jun 2001
Location: Tax-Exempt Donor, SoP Loyalist
Posts: 2,191
Default

Thanks for the helpful advice. I'm making progress.

I installed SST (and zlib, which was also required.) I extracted openssh & did ./configure, but when I run make I get:

/openssh-3.6.1p2/auth-passwd.c:231: undefined reference to 'crypt'
make: *** [ssh] Error 1

This doesn't happen right away, but the process fails.

I'm reading the manual now to figure out, I guess, how to define that reference.

PS - Don't know why this thread posted twice... I must've left lynx running and then inadvertently posted my old message again when I logged back on.
mac_philo is offline  
Old 06-12-2003, 06:36 PM   #5
Contributor
 
Join Date: May 2002
Location: Saint Paul, MN
Posts: 24,524
Default

Try adding a "-lcrypt" to the linker line. That's the chintzy answer.
seebs is offline  
Old 06-12-2003, 06:46 PM   #6
Veteran Member
 
Join Date: Jun 2001
Location: Tax-Exempt Donor, SoP Loyalist
Posts: 2,191
Default


Hi seebs! What's the linker line?

Also, perhaps I haven't installed ssl. "Openssl version" returns bash: openssl: command not found. But ./config, make, and makeinstall all completed without error, AFAIK. Maybe it's installed but I need to inform my shell?
mac_philo is offline  
Old 06-12-2003, 06:49 PM   #7
Veteran Member
 
Join Date: Sep 2001
Location: .
Posts: 1,281
Default

You need to install openssl before openssh. Openssl has the crypt stuff that is missing.
Kinross is offline  
Old 06-12-2003, 07:06 PM   #8
Veteran Member
 
Join Date: Jun 2001
Location: Tax-Exempt Donor, SoP Loyalist
Posts: 2,191
Default

After running make install, I have /usr/local/ssl/ with several subdirectories. If I switch to /usr/local/ssl/bin/openssl and type openssl it returns OpenSSL> .

Yet still the error message when installing openssh.
mac_philo is offline  
Old 06-12-2003, 07:37 PM   #9
Veteran Member
 
Join Date: Nov 2001
Location: NCSU
Posts: 5,853
Default

Try editing the config file to setup openssl and openssh for your machine.
RufusAtticus is offline  
Old 06-12-2003, 07:46 PM   #10
Contributor
 
Join Date: May 2002
Location: Saint Paul, MN
Posts: 24,524
Default

Hmm. Try typing "locate libcrypt", see if you get anything interesting-looking.
seebs is offline  
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump


All times are GMT -8. The time now is 10:06 PM.

Top

This custom BB emulates vBulletin® Version 3.8.2
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.