Sign inSign up

patsissons/irssi-ssh

By patsissons

Updated over 9 years ago

irssi via ssh

Image
0

171

patsissons/irssi-ssh repository overview

Docker Containers

Docker Version Docker Image Docker Pulls Docker Stars License MIT

irssi running in a container within a screen session, accessible via ssh.

Usage

Start the docker container with your public key:

docker run -d -p 2222:22 -e AUTHORIZED_KEYS="ssh-rsa AAAA...== user@host" -v /etc/localtime:/etc/localtime:ro -v irssi-conf:/home/user/.irssi:rw patsissons/irssi-ssh
  • AUTHORIZED_KEYS may contain multiple public keys, simply split them with a ,
  • -v /etc/localtime:/etc/localtime:ro to use the server's timezone settings
  • -v irssi-conf:/home/user/.irssi:rw to offload configuration and logs (note you may want to use a local path instead of a named volume)
  • Specify a TZ environment variable to override the timezone settings (this is a better option for cloud-based docker nodes)
  • Create a service link to liftoff/gateone to simplify connecting to the container (and remove the need to port map 22)

Connecting

Then ssh into the host

ssh -p 2222 user@localhost

Tag summary

Content type

Image

Digest

Size

95.4 MB

Last updated

over 9 years ago

docker pull patsissons/irssi-ssh:develop