How to Log in to the Hypernode With SSH
Congratulations with your new Hypernode! To access it, you need to use an SSH client.
This tutorial shows how to log in to the Hypernode with PuTTY (for Windows users) or Terminal (Linux and Mac OSX) using SSH.
NB: If you want to create SSH keys, please read the article: Create SSH Keys on Hypernode.
For Windows Users
Log in Using PuTTY
To use PuTTY you need to download this program from the PuTTY website. To connect to Hypernode you’ll have to use your SSH hostname (name.hypernode.io) and username (app).
If you ordered your Hypernode plan or trial via Hypernode.com, you received your SSH hostname and IP address via email as soon as your Hypernode is ready for use.
Open to PuTTY
Navigate to Session and enter your hostname (or IP address) in the Host name field
This should be the name of your Hypernode plan: example**.hypernode.io**
Click
Open
Enter app as your username
Congrats! You can now access your Hypernode.
Log in Using the Windows Subsystem for Linux on Windows 10
If you are on Windows 10 and a more experienced user, you can install the Windows Subsystem for Linux
.
This way you can simply install the bash shell and all needed GNU Utils to create an environment similar to the hypernode.
To do this, use this excellent howto on howtogeek.
For Linux and Mac OSX Users
Log in Using Terminal (Linux) or iTerm2 (MacOS)
If you ordered your Hypernode plan or trial via Hypernode.com, you received your SSH hostname and IP address via email as soon as your Hypernode is ready for use.
Use the following command to connect to Hypernode:
ssh app@name.hypernode.io
Where name
is the name you have chosen when you ordered the Hypernode. If the name of your node is example.hypernode.io the command would be like this:
ssh app@example.hypernode.io
Press ‘Enter’. Congrats! You now accessed your Hypernode
Brute Force Protection
We enabled fail2ban on the hypernode, which is a tool that detects bruteforces by tailing the remote access logs (/var/log/auth.log
). IP’s that try to login with incorrect credentials more then 6 times in 20 minutes will be added to the firewall for an hour.
It is possible that you ban your own IP through fail2ban because of extensive testing. You can manage your own whitelist of IP’s that fail2ban needs to ignore. The IP’s added to the WAF whitelist will be completely ignored by fail2ban. If you happen to get blocked yourself, add your IP address to the WAF whitelist.
Via the hypernode-systemctl Tool
You can easily whitelist IP addresses via the command line. First, run the following to check if any IP’s are already whitelisted:
hypernode-systemctl whitelist get waf
Adding to Whitelist
To add more values to your whitelists you can run the following. Please note that descriptions are optional:
hypernode-systemctl whitelist add waf 1.2.3.4 --description "my description"
Removing From Whitelist
To remove values from your whitelists you can run the following:
hypernode-systemctl whitelist remove waf 1.2.3.4
Via Your Control Panel
Customers who log in via my.hypernode.com can allow an IP via the Control Panel by following the steps below:
Log into the Control Panel.
Select the Hypernode.
Go the Allowlistby selecting it from the sidebar on the left:
Add the IP by choosing a rule type, entering the IP and a description.