♻️How to SSH into VPS
🤔Terminology
🔐Locate the necessary parameters
We will need to identify a few things (parameters) before we connect to our VPS.
See terminology for references.
We should have our notes accessible to identify the parameters below:
🗒️Node Operator Notesprivate key name
What private key did we use when we created our VPS originally?
private key location
We need to know the full system path to the private key we created so that we can instruct the SSH protocol utility (which is installed by default on most systems) where to locate and use it.
remote username
When we created our VPS, which non-root user account did we set up?
IP address
What is the IP address of our remote VPS?
Did we configure a unique custom port or use the default SSH assigned TCP Port?
You most likely have not configured a custom TCP port to connect to your VPS; however, using a custom port is recommended as it can provide an additional layer of security for your VPS.
Start SSH Session to Your Validator Node
Build our SSH connection string from the ☝️step (example only - replace with your own values )
Windows
ssh-i C:/Users/MyUser/.ssh/my-private_key [email protected]
Macintosh
ssh-i /Users/MyUser/.ssh/my-private_key [email protected]
Custom port ( example: port
2222
)
ssh-i C:/Users/MyUser/.ssh/my-private_key [email protected] -p 2222
ssh-i /Users/MyUser/.ssh/my-private_key [email protected] -p 2222
Last updated
Was this helpful?