Switch ttyd to use SSH instead of telnet for proper ANSI support

This commit is contained in:
2026-02-16 03:23:24 +00:00
parent 9f0d0249cd
commit cba9531a71
+1 -1
View File
@@ -34,7 +34,7 @@ services:
- "7681:7681"
environment:
- TERM=ansi
command: sh -c "apk add --no-cache inetutils-telnet && ttyd -p 7681 -t termType=ansi -t fontSize=16 telnet synchronet 23"
command: sh -c "apk add --no-cache openssh-client sshpass && ttyd -p 7681 -t fontSize=16 ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -p 22 synchronet"
depends_on:
- synchronet