Skip to content

Instantly share code, notes, and snippets.

@SuperMarioSF
Last active December 28, 2022 04:25
Show Gist options
  • Save SuperMarioSF/bdebaad27c53921895d1e65bd336ece3 to your computer and use it in GitHub Desktop.
Save SuperMarioSF/bdebaad27c53921895d1e65bd336ece3 to your computer and use it in GitHub Desktop.
Installing SSHOUT instance on Debian
# Get the source code
git clone https://git.code.sf.net/p/sshout/daemon-code sshout
cd sshout
# Essential package for building
sudo apt update
sudo apt install build-essential gettext libmhash-dev libreadline-dev
# Optional package for runtime features
sudo apt install xclip elinks
CFLAGS="-D ENABLE_IRC_FRONTEND=1" make -j 4
sudo make install
# Add worker user
sudo useradd -d /var/lib/sshout -m -u 115 -s /usr/lib/sshout/sshoutd -c "Secure Shout Host Oriented Unified Talk" -r sshout
# Register message daemon auto start on boot
sudo cp deploy/systemd/sshout.service /etc/systemd/system/
sudo systemctl daemon-reload
sudo systemctl enable --now sshout.service
# Add user with BASE64 part of user's public key (the example key below is useless btw)
sudo sshoutcfg adduser -a AAAAB3NzaC1yc2EAAAADAQABAAABgQDEd1IuYj0S2FBCLL4vBiia8sceR4qkudnWcNu1o3WeFDXomBLhyFnn7q995ULRNIRg2bMDBZeigfrfO8qAYR8nS5qltARL+gEQ4qE4yThX1BSdSXm+8hegQM2CCifj07EQjrksE3RJcvk2TWd1Ubu8eCEvZUdqHKTwvds/+S1MYIyxZovPROqbRq/DhwlRcT0th19NI1UCGmR7magxLyZs7i+5K2LzvD2hibH2evgpWff+FzzqO5++AwNcvhOtu27xzDjRrF89ZUeLSpQz1o1JBthcynrmm8AfDPlkdJNLBsTocGjqSPOMBSRe9k126iAbf++dYpQNkdM2UNOjuRJTOFBoqvY86L6HsSiaxMnzseWovsLsqSV/cIU67l/AShLuS6VktN2Quu8U+RRAOV7dFpViXlRnWpA62LZCNndZAuxcw/tW0us876NK0Iya1O4SjhpttdJbm9zPpsXI32mqU6cQpH/K3aMQ11tmC/zLtLjE5n87dx8Bit0kINQhn2U= SuperMarioSF
# Set motd message
sudo sshoutcfg setmotd -m "The 1stDim SSHOUT Chatroom Instance."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment