summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ssh-command.sh13
1 files changed, 12 insertions, 1 deletions
diff --git a/ssh-command.sh b/ssh-command.sh
index 3a24f68..f91c5b1 100644
--- a/ssh-command.sh
+++ b/ssh-command.sh
@@ -1,12 +1,23 @@
 #!/bin/sh
 set -e -u
 
+SSH_HOST=stream@ascii.town
+
 if [ -z "${SSH_ORIGINAL_COMMAND:-}" ]; then
+    echo
+    echo 'Welcome to Twinch!'
+    echo
+    echo 'To view a public stream, run one of the following commands:'
+    echo
+
     cd public
     for id in *; do
-        echo "ssh -t stream@ascii.town $id"
+        echo "ssh -t $SSH_HOST $id"
     done
+    echo
+
     exit
+
 else
     set $SSH_ORIGINAL_COMMAND
     case $1 in