Prerequisites:
- Install SSH client: OpenSSH (≥ 6.5 for Ed25519) from http://www.openssh.com/portable.html
- Create your authorization Ed25519 key (ssh-keygen -t ed25519)
- Put your authorization Ed25519 key to ~/.ssh/authorized_keys on server
Debian installation
Unix installation
download
wget https://github.com/janmojzis/tinyssh/releases/download/20240101/20240101.tar.gz.asc
wget https://github.com/janmojzis/tinyssh/archive/20240101.tar.gz
gpg --verify 20240101.tar.gz.asc 20240101.tar.gz
gunzip < 20240101.tar.gz | tar -xf -
cd tinyssh-20240101
compile and install binaries
create directory with keys
sudo tinysshd-makekey /etc/tinyssh/sshkeydir
Unix running
Running from inetd
- Add this line to: /etc/inetd.conf and reload inetd server
ssh stream tcp nowait root /usr/sbin/tinysshd tinysshd -l -v /etc/tinyssh/sshkeydir
Running from tcpserver
tcpserver -HRDl0 0.0.0.0 22 /usr/sbin/tinysshd -v /etc/tinyssh/sshkeydir