Running irssi
in a screen
session with ssh and mosh access.
Start the docker container with your public key(s):
docker run -d -p 2222:22 -p 2233:60000/udp -e AUTHORIZED_KEYS="ssh-rsa AAAA...== user@host" -e TZ="Europe/Stockholm" -v <irssi conf dir>:/home/user/.irssi:rw hymnis/docker-irssi
AUTHORIZED_KEYS
: Keys that are allowed to be used for login. Multiple keys are allowed and separeted by,
.
-v <irssi conf dir>:/home/user/.irssi:rw
: Persistant storage of irssi configuration and logs.
TZ
: Timezone override which allowes for specific timezone to be used.
Use ssh or mosh to connect to the host on specified port.
ssh -p 2222 user@<host>
or
mosh -p 2233 --ssh="ssh -p 2222" user@<host>