OpenSSH (including daemon) for OpenLink
This article based on work done by Frontalot on Linkstationwiki.org
This project offers OpenSSH (including daemon), precompiled and packaged for the PPC LinkStation. The OpenSSH package is intended for people who want to upgrade from Dropbear to a more full-featured SSH daemon. This way you can use a client like PuTTY or FileZilla for terminal and file transfer. You can even tunnel other protocols like VNC through SSH to make them secure. This package requires that you have installed the OpenLink or FreeLink firmware. You may download the latest version from the downloads area here. Or, use this version "it contains the original tarball plus an installation script (not yet widely tested, but at least from that you can see the requirements)" referred to by Izzy in this forum 
A complete OpenSSH-4.2p2-package is available at mindbenders-page: OpenSSH-4.3p2_ppc.tar.gz Install it by
cd / wget http://www.unet.univie.ac.at/~a0025690/ppc-binaries/OpenSSH-4.3p2_ppc.tar.gz tar xzvf OpenSSH-4.3p2_ppc.tar.gz /usr/local/etc/create_keys.sh
you should be able to connect via ssh after reboot or if you start
Also, the sshd needs to be modified by adding the following lines to startup block.
if [ ! -d /var/empty ]; then mkdir /var/empty fi
If the modification is not done, every time SSH is stopped and restarted, it will complain the the /var/empty directory already exists. One must also remember to create user named "sshd".
This is generic and probably would work for any flavor LinkStation
to be able to compile you have to meet the following prerequisites:
then compiling works that way:
download the source of OpenSSH to a seperate folder that you will use for compiling
cd <folder_for_compiling> wget ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-4.3p2.tar.gz tar xzvf openssh-4.3p2.tar.gz cd openssh-4.3p2 ./configure make make install
the ssh-keys are generated automatically in the installation process. there are two things that have to done additionally.
1) you have to create a startscript for OpenSSH which is stored at
or you use this one: http://www.unet.univie.ac.at/~a0025690/configs/sshd
2) you have to make sshd is started automatically after shutdown/reboot. do this by executing
ln -s /etc/init.d/sshd /etc/init.d/rc.d/rc2.d/S07sshd
afterwards OpenSSH is ready for action.
- Install the OpenSSH package using apt-get. If prompted, select SSH version 2. Use the command:
apt-get install ssh
- You can configure SSH through Webmin (see Webmin to remotely administer your LinkStation)
The OpenSSH suite includes the following tools:
scp email@example.com:somefile .
- sshd, the SSH daemon:
ssh-keygen -t rsa
- ssh-agent, a small daemon that can hold copies of public keys and use them to sign authentication challenges, avoiding the need to enter passphrases every time they are used:
- ssh-add, a tool to load keys into, or delete keys from a running ssh-agent:
- ssh-keyscan, which scans a list of hosts and collects their public keys:
ssh-keyscan -t rsa 184.108.40.206 220.127.116.11 www.example.com
- sftp-server, the sftp server subsystem (normally run directly by sshd)
- ssh-keysign, a setuid helper program that signs "hostbased" authentication challenges using the host's private keys (normally executed directly by ssh)
- http://www.openssh.com/ - OpenSSH a FREE version of the SSH connectivity tools
- Dropbear package designed specifically for the MIPSel LinkStation
- Dropbear package for the PPC LinkStation
- http://martybugs.net/smoothwall/puttyvnc.cgi - Tunnelling VNC over SSH with PuTTY
- openssh-3.9p1-05b.tgz - from Qumran Cave FileBase
- The Linkstation Community Forum / Everything else / www.linkstationwiki.net - Mediawiki is online
- Convert from telnet to SSH (both OpenSSH and Dropbear)
- OpenSSH - From the WikiPedia