Changes

1,769 bytes added ,  12:55, 20 April 2021
Import from wiki
==SSH Setup on IRIX 6.5==

For years, SSH has been a pain under IRIX. However, with a recent port of Dropbear, an embedded, secure, and lightweight SSH server and client implementation for IRIX, it is now possible to have reasonably fast SSH usage under IRIX.

===What is Dropbear?===
Dropbear is an OpenSSH alternative, in a word. OpenSSH is a great product, but it does have its downsides. Recent versions are hard to setup under IRIX as it wants security features more and more that are difficult to disable. It's also considerably slower on IRIX than dropbear is.

===Is Dropbear "safe"?===
It's actively developed by Matt Johnston and other volunteers. It's no more dangerous than OpenSSH being ran, and if a user properly configures his or her firewall, then it is unlikely to be hacked. It is miles ahead, as well, of using public telnet.

===Where can one get Dropbear?===
Raion has currently packaged it for [https://forums.irixnet.org/thread-2497.html optxeno], with intent to include it in Nekoware II.

===How to setup Dropbear?===
Once optxeno is downloaded and extracted to /opt/xeno, do the following:

# mkdir -p /opt/xeno/etc/dropbear
# chmod 700 !$
# /opt/xeno/sbin/dropbearkey -t ecdsa -s 521 -f /opt/xeno/etc/dropbear/host.key
# /opt/xeno/sbin/dropbear -r /opt/xeno/etc/dropbear/host.key

This should start dropbear, which can be checked with <code>ps -aef | grep dropbear</code>. It should be running on local port 22, barring IPFilter or any other blockages.

===How to autostart Dropbear?===
Dropbear supports inetd usage, but it appears finnicky under IRIX and will probably necessitate further poking at it. Additionally, it would be great to get an initscript for installation/packaging, but it has not been quite figured out yet.
13

edits