The basic installation of Haiku contains several standard system network utilities including SSH and Telnet
Setting your user password
A good first step is to set the password for your user account, in order to secure your system before opening it to the world.
~> passwd new password: repeat new password:
ftpd - an FTP server daemonHaiku can easily be made to listen for incoming FTP connections to serve its files.
Start ftpd at boot
Haiku will automatically start its FTP server daemon at boot if you remove the comment hashes (#) from the service ftp section of /boot/system/settings/network/services.
Start ftpd manually
To start the FTP server daemon manually, simply execute ftpd.
sshd - the secure shell daemonSSH is a network protocol that allows for data to be exchanged using a secure channel between two networked devices. The most common use is shell access. Starting the SSH server daemon in Haiku is easy:
- Add the SSH server user:
- Edit /system/settings/ssh/sshd_config and add the following option:
- Start the SSH server daemon:
ps | grep sshd | grep -v grep /boot/system/bin/sshd 237 1 0 0
In the example above, sshd has the process id of 237 and is running. We can now connect to Haiku with the username of ‘user’ and the password which you set at the beginning of this article:
alex@leenux-desktop:~$ ssh email@example.com firstname.lastname@example.org’s password:
Welcome to the Haiku shell.
~> uname -a Haiku shredder 1 r36769 May 8 2010 20:58:31 BePC Haiku ~> gcc -v using priority 5 Reading specs from /packages/gcc-2.95.3_2013_08_15-2/.self/develop/tools/lib/gcc-lib/i586-pc-haiku/2.95.3-haiku-2013_08_15/specs gcc version 2.95.3-haiku-2013_08_15 ~>