Part 4B (Windows): SSH into your VPS and connect your node to the Fusion Blockchain on Windows
This is the 4th and last section of a 4-part guide that culminates in you staking on the Fusion Foundation’s Main Network. In part 4, I take you through the steps of SSHing into your VPS and connecting your node to the Fusion Blockchain if you are using a Windows system.
This guide is not security advice, Fusion takes no responsibility for the safety of your cryptocurrencies. Do your own due diligence before experimenting with staking, using VPS’s and cryptocurrencies in general.
Link to the other sections of the How to Set Up A Fusion Node Guide:
- Part 1 — Introduction to Consensus Algorithms
- Part 2 — Introduction to Fusion’s Unique Approach to Staking
- Part 3 — How to set up a VPS on AWS
- Part 4A — SSH into your VPS and connect your node to the Fusion Blockchain on Mac and Linux
Step 1 — Install PuTTY and make your SSH private key PuTTY compatible
The objective of this process is to access your VPS. The standard term for this is ‘SSHing into’ your VPS.
To begin, navigate to www.putty.org.
Depending on the computer model you are using, download the 32 or 64 bit version of PuTTY to your computer.
Follow the straightforward installation process.
Once installed, run the application called PuTTYGen. The purpose of PuTTYGen is to convert the AWS private SSH key that was created in the previous guide and saved to your hard drive, into a PuTTY compatible private key file.
Within the PuTTYGen modal navigate:
Conversions > Import Key
Select the AWS SSH private key from the previous guide and click ‘open’.
Now that you have selected the AWS private key, click ‘Save private key’.
Well done, now your private SSH key is compatible with PuTTY.
Step 2 — Open up the PuTTY console.
The application should open on the ‘Sessions’ page, if not navigate to it.
In the ‘Host name (or IP address)’ field we need to enter your VPS’s public DNS. We can extract this from your AWS console.
Navigate on AWS:
Services — EC2 — Running Instances
Click the ‘Connect’ button at the top of the screen.
The above modal will appear. Copy to your clipboard the text displayed under the ‘Connect to your instance using its Public DNS’ section. Paste this text into the ‘Host name (or IP address)’ field in the PuTTY modal.
Next within the PuTTY modal navigate to:
Connection > SSH > Auth
Without changing any settings, click ‘Browse’ and select your PuTTY Compatible SSH private key file generated in the previous step.
Next navigate back to the ‘Session’ tab and choose a name under the ‘Saved Sessions’ field and click ‘Save’ so you can easily reload these configurations in the future.
Finally click ‘Open’. A pop up relating to ‘not cached in the registry’ may appear, click ‘yes’ and proceed.
Step 3 — SSH into your AWS VPS
Type ‘ubuntu’ into the PuTTY console (as shown in the image below) and hit enter.
Congratulations, you have successfully SSH’d into your AWS Instance!
Step 4 — Deploy your node
After SSHing into your VPS, you are ready to deploy your node.
Begin by pasting the following script into your terminal and execute.
The following screen should appear:
Press 1 to install all of the required prerequisites to running a Fusion Node.
Wait a few moments for the process to complete. When complete the following screen will display.
Select 1 — Miner and Local Gateway
Open the JSON/UTC file for the wallet address that you want to use for staking in text edit and copy the complete text and paste it in your terminal, then execute.
Enter the password to unlock your JSON/UTC, then execute.
Decide whether you want the program to purchase staking tickets for you automatically or if you would like to do this manually as you please.
Name how you would like your node to appear on Fusion’s Node Stats page — http://node.fusionnetwork.io/
I will call my node, YonaNodeDemo.
Follow prompt to confirm your wallet address by typing ‘Y’.
Now your node is running!!!!
You can find it on http://node.fusionnetwork.io/
For more assistance or additional information, please join us in the Fusion Developer Telegram Channel! Many community members and staking gurus will help you with any and all of your node setup troubles.