2001/06/15   Ssh-2.4.0 on MacOS X Release

Unfortunately, sftp coming with openssh-2.9x does not support tab completion. Until this gets supported, I decided to use SSH instead of OpenSSH. The latest version of SSH is ssh-2.4.0 whose source tarball is available, for instance, from ftp://ftp.kyoto.wide.ad.jp/pub/security/ssh/. A Ssh1 source tarball which is necessary for backward compatibility with ssh1 protocol is also available from there. SPEC files I used to create RPMs for ssh1 and ssh2 are ssh-1.2.30.spec and ssh.spec. The resultant SRPMs are

ssh-1.2.30-1a.nosrc.rpm
ssh-2.4.0-1a.nosrc.rpm

while their corresponding RPMs are

ssh-1.2.30-1a.ppc.rpm
ssh-2.4.0-1a.ppc.rpm
ssh-symlinks-2.4.0-1a.ppc.rpm

where the symlinks package contains a startup script. There was no great difficulty in compiling them, except that ssh1 required this patch.

When I tried to install them, however, the rpm complained that some X11-related dynamic libraries are missing (they are actually there but not registered in the rpm's data base). The best solution to this problem is to make XFree86 into RPMs. However, since it takes time, I decided to get around this problem by preparing a dummy X11 RPM, which just pretend to provide those X11-related dynamic libraries. The SPEC file I used for it is here.

At this point, the installation of SSH is straightforward:

# rpm -ivh X11-1.0-1a.ppc.rpm
# rpm -ivh ssh-1.2.30-1a.ppc.rpm
# rpm -ivh ssh-2.4.0-1a.ppc.rpm
# rpm -ivh ssh-symlinks-2.4.0-1a.ppc.rpm

Notice, however, that this will overwrite APPLE's standard OpenSSH installation, so do it at your own risk. Note also that SSH is non-free unlike OpenSSH. It is available only for non-commercial use. Look at LICENSE for the conditions.

As for the RPMs I have built for MacOS X Release, the following directories might be useful:

SPECS
SOURCES
SRPMS
RPMS

where you can find spec files, my private patches, source RPMs, and binary RPMs, respectively. Note that the RPMS directory contains two subdirectories, "ppc" for architecture-dependent binariy packages, while "noarch" for those architecture-independent. For those packages without real source RPMs or those provided only as tar balls, you can find the corresponding original source packages and my private patches in src. The binary tar balls are in tgz.

These packages have been tested on my machines (G3 Series PowerBook, aka Wallstreet and Ti PowerBook G4) but might not work on your platform. Install them thus at your own risk.

Notice also that new packages are under ~fujiik/macosx/10.0.X/, while the old ones built on Public Beta are directly under ~fujiik/macosx/ and will not be supported.


B ack to Keisuke Fujii's HEP on X Page