From d9a4d381dd1c2fc6a8109ae4866937c8628c8e06 Mon Sep 17 00:00:00 2001 From: Andrey Petrov Date: Sun, 11 Apr 2021 10:43:34 -0400 Subject: [PATCH] Updated Deployment (markdown) --- Deployment.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Deployment.md b/Deployment.md index 74c55a7..6c6f61d 100644 --- a/Deployment.md +++ b/Deployment.md @@ -76,7 +76,8 @@ It's best to make a separate user just for your ssh-chat service and store all f The following installation steps can be used to automate the installation on Ubuntu Linux 16 (LTS), some slight modifications may be required for other distributions. ```bash -$ wget https://github.com/shazow/ssh-chat/releases/download/v1.7/ssh-chat-linux_amd64.tgz +$ export LATEST_SSHCHAT=$(curl -s https://api.github.com/repos/shazow/ssh-chat/releases | grep -om1 "https://.*/ssh-chat-linux_amd64.tgz") +$ wget "${LATEST_SSHCHAT}" $ sudo tar -xf ssh-chat-linux_amd64.tgz -C /opt # extracts ssh-chat to /opt $ sudo ln -sf /opt/ssh-chat/ssh-chat /usr/local/bin/ssh-chat # creates a symlink in /usr/local/bin for convenience $ sudo ssh-keygen -t rsa -N '' -f /root/.ssh/id_rsa # generates a key/fingerprint for your server