Updated Deployment (markdown)

Andrey Petrov 2021-04-11 10:43:34 -04:00
parent 8b6ee3b205
commit d9a4d381dd

@ -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