-
-
Notifications
You must be signed in to change notification settings - Fork 90
Access the VPS
Daniel Tischner edited this page Sep 15, 2021
·
1 revision
The bot is hosted on a Virtual Private Server (VPS) by Hetzner. The machine can be reached under the DDNS togetherjava.duckdns.org
.
Access to it is usually granted only to members of the Moderator-Team.
In order to get access to the machine, the following steps have to be followed:
- Generate a private-/public-key pair for SSH. This can be done by executing the following command:
ssh-keygen -t ed25519 -C "[email protected]" -f ~/.ssh/together-java-vps
- Put the key pair into your
.ssh
folder (WindowsC:\Users\YourUserNameHere\.ssh
, Linux~/.ssh
) - Give the public key to someone who has access already
3.1. The person has to add your public key to the file~/.ssh/authorized_keys
- Add the following entry to your
.ssh/config
file:
Host togetherjava
HostName togetherjava.duckdns.org
IdentityFile ~/.ssh/together-java-vps
User root
Port 22
- Connect to the machine by using the command
ssh togetherjava
, you should get a response similar to: - Congrats 🎉, you are now logged in. Once you are done, close the connection using
logout
.