How to access VPS remotely via SSH with PuTTY, git bash and terminal

How to access VPS remotely via SSH with PuTTY, git bash and terminal

You have bought your new VPS in a quest take your game up. You have been given all the usernames and passwords but do not know exactly how you can access VPS remotely .

Contents

Requirements

I was there once and now, I’m going to share the secret (not really) knowledge of accessing a VPS using SSH or PuTTY.  Before we start, lets list out our requirements.

  • VPS (goes without saying)
  • Root login details with SSH port information (if it has been set to something other than 22)
  • An SSH client if you are on windows

OR

If you are on any Linux distribution or a mac, you will be able to run SSH command without the client directly through terminal.

So, Neo, its time for us to take the red pill.

If you are using PuTTY as your ssh client

Start PuTTY, you will see a PuTTY configuration screen like the one below.

How to access VPS remotely via SSH with PuTTY, git bash and terminal 1
  • Type your hostname, generally IP address of your VPS and port number, if port number is not provided, leave it to 22
  • Click on open
  • You will see a PuTTY security alert box. Where it shows server finger print and asks you if you trust this server or not. Since, this is your VPS, you will click on yes. It will store server details in your computer and this box will not appear next time.
  • After that, you will see a command line interface, where you are asked to type your username and password. If the details are correct, you will get into your VPS. That’s it!

If you are using Git bash or Terminal to access your VPS

If you were provided a port other than 22, type this instead

ssh [email protected] -p [port number here]

  • After this, you will get the message where it reminds about server’s authenticity and asks to type “yes” if you trust the server. You will type “yes”. This message appears only one.
  • After that, you will be asked to enter your password, if your password is correct, you will get into the server.
How to access VPS remotely via SSH with PuTTY, git bash and terminal 2

0 Comments

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>