For building OpenSSL.
% ./config
Replace -xarch=amd64 with -m64 in the Makefile.
% gmake
# gmake install
Now build OpenSSH:
export CFLAGS=-m64
export LDFLAGS=-m64
% ./configure --with-ssl-dir=/usr/local/ssl
% make
% su
# make package
The following packages are available:
 1  OpenSSH     OpenSSH Portable for Solaris
                (i386) OpenSSH_5.0p1
Select package(s) you wish to process (or 'all' to process
all packages). (default: all) [?,??,q]: Transferring 
# pkgadd -d OpenSSH-OpenSSH_5.0p1-Solaris-i386.pkg
If you're using OpenSSH portable from CVS you can also enjoy the ASCII art fingerprint funtion:
ibmsolaris% ./ssh -F /etc/ssh/ssh_config 192.168.21.168
Host key fingerprint is ...
+--[ RSA]----------+
|                             |
|         = .                |
|      . = F               |
|       + * +             |
|        S * .             |
|         o +   .          |
|        . = o . .         |
|         o + . o          |
|          . .oo .          |
+----------------------+
Just add CheckHostIP fingerprint to ssh_config.
To compile OpenSSH from CVS:
% export CVSROOT=anoncvs@anoncvs.mindrot.org:/cvs
% export CVS_RSH=/usr/bin/ssh
% cvs get openssh
# ln -s /usr/bin/automake-1.10 /usr/bin/automake
% make
% su
# make package
 


0 comments:
Post a Comment