Difference between revisions of "OpenSSH (including daemon) for OpenLink"

From NAS-Central Buffalo - The Linkstation Wiki
Jump to: navigation, search
m (OpenLink)
m (Background)
Line 7: Line 7:
 
</td></tr></table>
 
</td></tr></table>
 
==Background==
 
==Background==
This project offers [[w:OpenSSH|OpenSSH]] (including daemon), precompiled and packaged for the PPC LinkStation. The OpenSSH<ref>[http://www.openssh.com/ http://www.openssh.com/] - OpenSSH a FREE version of the SSH connectivity tools</ref> -  package is intended for people who want to upgrade from [[w:Dropbear|Dropbear]] to a more full-featured [[w:SSH|SSH]] daemon. This way you can use a client like [[w:puTTY|PuTTY]] or [[w:FileZilla|FileZilla]] for terminal and file transfer. You can even tunnel other protocols like [[w:VNC|VNC]] through [[w:SSH|SSH]] to make them secure.<ref>http://martybugs.net/smoothwall/puttyvnc.cgi - Tunnelling VNC over SSH with PuTTY</ref>  This package requires that you have installed the [[OpenLink]] or [[FreeLink]] firmware. You may download the latest version from the downloads area ([http://downloads.linkstationwiki.net/powerpc-hdhlan/ here]).  Or, use this version [http://www.qumran.org/ftp/local/linux/lsppc/openssh-3.9p1-05b.tgz here] - "it contains the original tarball plus an installation script (not yet widely tested, but at least from that you can see the requirements)" reffered to by Izzy in this forum <ref>[http://forum.linkstationwiki.net/index.php?action=vthread&forum=4&topic=1032&page=0#msg8524 The Linkstation Community Forum / Everything else / www.linkstationwiki.net - Mediawiki is online]</ref>
+
This project offers [[w:OpenSSH|OpenSSH]] (including daemon), precompiled and packaged for the PPC LinkStation. The OpenSSH<ref>[http://www.openssh.com/ http://www.openssh.com/] - OpenSSH a FREE version of the SSH connectivity tools</ref> -  package is intended for people who want to upgrade from [[w:Dropbear|Dropbear]] to a more full-featured [[w:SSH|SSH]] daemon. This way you can use a client like [[w:puTTY|PuTTY]] or [[w:FileZilla|FileZilla]] for terminal and file transfer. You can even tunnel other protocols like [[w:VNC|VNC]] through [[w:SSH|SSH]] to make them secure.<ref>http://martybugs.net/smoothwall/puttyvnc.cgi - Tunnelling VNC over SSH with PuTTY</ref>  This package requires that you have installed the [[OpenLink]] or [[FreeLink]] firmware. You may download the latest version from the downloads area [http://downloads.linkstationwiki.net/powerpc-hdhlan/ppc-openssh-3.9p1-05b.tgz here].  Or, use this version [http://www.qumran.org/ftp/local/linux/lsppc/openssh-3.9p1-05b.tgz here] - "it contains the original tarball plus an installation script (not yet widely tested, but at least from that you can see the requirements)" reffered to by Izzy in this forum <ref>[http://forum.linkstationwiki.net/index.php?action=vthread&forum=4&topic=1032&page=0#msg8524 The Linkstation Community Forum / Everything else / www.linkstationwiki.net - Mediawiki is online]</ref>
  
 
==Installation Instructions==
 
==Installation Instructions==

Revision as of 01:17, 3 August 2006

This article based on work done by Frontalot on Linkstationwiki.org

190px-Openssh.gif

Contents

Background

This project offers OpenSSH (including daemon), precompiled and packaged for the PPC LinkStation. The OpenSSH[1] - 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.[2] 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 here - "it contains the original tarball plus an installation script (not yet widely tested, but at least from that you can see the requirements)" reffered to by Izzy in this forum [3]

Installation Instructions

OpenLink

ppc-openssh-3.9p1–05b
  • openssh-3.9p1

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

/etc/init.d/sshd start

manually.

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".

FreeLink (Debian)

  • Install the OpenSSH package using apt-get. If prompted, select SSH version 2. Use the command:[4]
apt-get install ssh

Programs included

The OpenSSH suite includes the following tools:[5]

ssh user@example.com
scp user@example.com:somefile .
sftp user@example.com
sshd
  • ssh-keygen, a tool to generate the RSA and DSA keys that are used for user and host authentication:
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:
eval `ssh-agent`
  • ssh-add, a tool to load keys into, or delete keys from a running ssh-agent:
ssh-add
  • ssh-keyscan, which scans a list of hosts and collects their public keys:
ssh-keyscan -t rsa 192.2.0.33 192.2.0.34 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)

References

  1. http://www.openssh.com/ - OpenSSH a FREE version of the SSH connectivity tools
  2. http://martybugs.net/smoothwall/puttyvnc.cgi - Tunnelling VNC over SSH with PuTTY
  3. The Linkstation Community Forum / Everything else / www.linkstationwiki.net - Mediawiki is online
  4. Convert from telnet to SSH (both OpenSSH and Dropbear)
  5. OpenSSH - From the WikiPedia