Installing OpenSSH

jcontonio

Registered
Has anyone had luck in installing OpenSSH? I tried following the steps at stepwise.com to do so, and I don't seem to have gnutar, and after I run make , it gives me an error saying a file is not found. Am I totally missing something? I am using 4k75...I downloaded the Dev Tools from the ADC...no gnutar.
 
I believe gnutar was removed because of GPL issues,and regular tar has a path length limit.. this may be what you're running into. Try copying the gnutar from a Public Beta install.
 
OpenUp contains the gnutar binary, among others.

Once you download OpenUp, if you want to have access to gnutar from the commandline, you could copy Openup.app/Contents/Resources/gnutar to /usr/local/bin, or a similar location. Probably best to do that as root, from the terminal.
 
if you're using os x 1.0, stuffit expander will handle tar.gz files just fine. also, i used the tar that came w/ os x to handle the latest version of openssh that I got from one of their mirrors.
 
Crap.. here's what I've been getting all bloody evening:
--23:50:30-- http://www.publicsource.apple.com:80/projects/darwin/1.2/source/other/OpenSSL-0.9.5a-3.1.tar.gz
(try: 6) => `OpenSSL-0.9.5a-3.1.tar.gz'
Connecting to http://www.publicsource.apple.com:80...
connect: Operation timed out
Retrying.

--23:51:45-- http://www.publicsource.apple.com:80/projects/darwin/1.2/source/other/OpenSSL-0.9.5a-3.1.tar.gz
(try: 7) => `OpenSSL-0.9.5a-3.1.tar.gz'
Connecting to http://www.publicsource.apple.com:80...


And it tries and tries and tries.. and fails. *sigh*
 
Originally posted by endian
I believe gnutar was removed because of GPL issues,and regular tar has a path length limit.. this may be what you're running into. Try copying the gnutar from a Public Beta install.

If you install the developer tools, you get gnutar (and gnumake,
and a bunch of other stuff) by default. No need to resurrect
your PB installation.
 
i have had no trouble compiling the openssl/openssh on OS X 10.0

i used the Darwin tarballs pointed to by the stepwise article, but i just untarred them and 'made' them. didn't bother with most of stepwise's instructions.

sudo tsch
tar zxfv OpenSSL-0.9.5a-3.1.tar.gz
cd OpenSSL-3-1/openssl
./config
make
make install
tar zxfv OpenSSL-0.9.5a-3.1.tar.gz
cd OpenSSH-1/openssh
./configure
make
make install

rehash
(to allow the new binaries to be 'found' by the shell)

ssh-keygen -f /usr/local/etc/ssh_host_key -N "" -C "`hostname`"

ssh-keygen -d -f /usr/local/etc/ssh_host_dsa_key -N "" -C "`hostname`"

exit

this will place the binaries in /usr/local/bin (the default)

if you don't have this added to your $PATH (for whatever reason) or you just don't like too many places for binaries, replace the ./configure in OpenSSH-1/openssh with

./configure --prefix=/usr

cheers,
NauSeuM
 
Back
Top