janmojzis / tinyssh

TinySSH is small server (less than 100000 words of code)
Creative Commons Zero v1.0 Universal
1.41k stars 75 forks source link

How to specify listening port? #83

Closed yonas closed 8 months ago

yonas commented 8 months ago

Can you add a --port command-line flag?

yonas commented 8 months ago

And you can't just run the tinysshd as a command like that, it needs tcpserv, inetd or systemd. -- #76

ssh stream tcp nowait root /usr/local/bin/tinysshd tinysshd -l -v /tmp/tinysshd works for me on FreeBSD.