ladybird/Ports/openssh
Patrick Meyer 6020364476 Ports: Make openssh server not crash during startup
Before, the openssh server tried to chroot. The startup always aborted
after that, as our chroot stub currently simply returns -1. Luckily we
can use unveil instead.

Furthermore the missing ssh_host_ed25519_key also prevented the server
from successfully starting.

The previous ReadMe.md entry about socketpair missing was already
resolved by #6705.
2022-05-02 17:12:51 -07:00
..
patches Ports: Make openssh server not crash during startup 2022-05-02 17:12:51 -07:00
.gitignore Ports: Unignore the OpenSSH port README 2022-03-24 20:11:39 -07:00
package.sh Ports: Make openssh server not crash during startup 2022-05-02 17:12:51 -07:00
ReadMe.md Ports: Make openssh server not crash during startup 2022-05-02 17:12:51 -07:00

Known limitations

  • No SK/FIDO support.
  • No DNS support.
  • No proxy support.
  • Assumes SSH2.0 for now.
  • Cannot determine compatibility flags. This means there may be some weird bugs when connecting to certain SSH implementations.

Autostart SSHD

Add something like this to your sync-local.sh

cat <<EOF >> mnt/etc/SystemServer.ini

[SSHServer]
Executable=/usr/local/sbin/sshd
Arguments=-D
KeepAlive=1
SystemModes=text,graphical
EOF