![]() |
Freethought & Rationalism ArchiveThe archives are read only. |
![]() |
#1 |
Veteran Member
Join Date: Jun 2001
Location: Tax-Exempt Donor, SoP Loyalist
Posts: 2,191
|
![]()
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. |
![]() |
![]() |
#2 |
Senior Member
Join Date: Apr 2003
Location: baton rouge, la
Posts: 539
|
![]()
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 ![]() |
![]() |
![]() |
#3 |
Veteran Member
Join Date: Sep 2001
Location: .
Posts: 1,281
|
![]()
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. |
![]() |
![]() |
#4 |
Veteran Member
Join Date: Jun 2001
Location: Tax-Exempt Donor, SoP Loyalist
Posts: 2,191
|
![]()
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. |
![]() |
![]() |
#5 |
Contributor
Join Date: May 2002
Location: Saint Paul, MN
Posts: 24,524
|
![]()
Try adding a "-lcrypt" to the linker line. That's the chintzy answer.
|
![]() |
![]() |
#6 |
Veteran Member
Join Date: Jun 2001
Location: Tax-Exempt Donor, SoP Loyalist
Posts: 2,191
|
![]() 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? |
![]() |
![]() |
#7 |
Veteran Member
Join Date: Sep 2001
Location: .
Posts: 1,281
|
![]()
You need to install openssl before openssh. Openssl has the crypt stuff that is missing.
|
![]() |
![]() |
#8 |
Veteran Member
Join Date: Jun 2001
Location: Tax-Exempt Donor, SoP Loyalist
Posts: 2,191
|
![]()
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. |
![]() |
![]() |
#9 |
Veteran Member
Join Date: Nov 2001
Location: NCSU
Posts: 5,853
|
![]()
Try editing the config file to setup openssl and openssh for your machine.
|
![]() |
![]() |
#10 |
Contributor
Join Date: May 2002
Location: Saint Paul, MN
Posts: 24,524
|
![]()
Hmm. Try typing "locate libcrypt", see if you get anything interesting-looking.
|
![]() |
Thread Tools | Search this Thread |
|