How To Connect To Ssh On Windows
Knowing how to connect to your website over SSH authenticating with Public/Private Key pairing is a great skill. Authenticating and working on your website over SSH is more secure since your connection is encrypted.
Too, with SSH you will exist able to perform some absurd tasks not bachelor to y'all over a graphical interface. And you will practise them much faster.
That's why some content management systems offer command line interface to their users. Like, for example, WP-CLI for WordPress or Drush for Drupal.
In this tutorial, yous volition acquire how to connect to your spider web server over SSH with the Public/Individual Key pairing using Windows complimentary SSH client PuTTY.
The process is simple. You begin by creating a Public/Private Central pair nether your web hosting control panel. You then motion to your own Windows box. To install and configure PuTTY.
You terminate the job past copying your Public Key from PuTTY into your server's authorized_key text file. That'south information technology. You are then gear up to connect with Public/Private cardinal pairing over SSH using PuTTY.
Note: this tutorial demonstrates how to create SSH connexion with PuTTY to a server hosted by SiteGround. If y'all host your site somewhere else, this process may not work for y'all. In such case, please consult your hosting Support documentation or Support staff.
Allow's get started.
Stride #1. Create Your Private SSH Key
- In your CPanel click SSH/Shell Access
- You will run into the Generate new SSH key pair web course. Fill up in the First Name, Terminal Name, Email, Key Password and Password (Again)fields
- Click Generate
In a few seconds, you lot will see The central has been successfully added! message.
- Click Go Back
You lot will encounter familiarGenerate new SSH cardinal pair folio. Your Private Central is displayed at the bottom of the page, in the Manage current keys section.
Skilful chore! You just created your Private SSH Key. You will create your Public SSH key in a few minutes. For at present, let's movement from your spider web server to your reckoner.
Step #2. Install and Configure PuTTY
- Download PuTTY from this site and install it on your Windows box.
In one case you lot installed it, you lot should see PuTTY and its tools displayed in your Windows Start menu.
- Launch the PuTTYgen tool
- Get back to your hosting CPanel > SSH/Shell Access
- Click Private Cardinal
You will meet your SSH Private Key encrypted text displayed in a text box.
- Re-create information technology into your clipboard
- Open Windows Notepad
- Paste the Private Key text into it
- Salvage the file as my_private_key.ppk to your Windows Desktop
- Go back to PuTTYgen
- Click File > Load private central
PuTTYgen will open the Load individual key box.
- Select my_private_key.ppk file from your Desktop
- Click Open
You will run across the PuTTYgen: Enter Passphrase prompt box.
- Enter into the box the same passphrase, you lot entered when you were creating your Private key in your CPanel a few minute ago
- Click OK
PuTTYgen will display Successfully imported strange central find.
- Click OK to close the Discover
- Click Save private key
You volition come across the Save private key as: box with my_private_key.ppk file in it.
- Ignore my_private_key.ppk file. Type in my_putty.ppk into the File name: field
- Click Save
You will see PuTTY Cardinal Generator interface.
- Select the Public key text displayed within the Publc key for pasting into OpenSSH authorized_keys file: box
- Copy the Public fundamental into your clipboard
- Become back to your hosting CPanel > SSH/Crush Access
- In the Upload SSH key department paste the Public key yous but copied into the Public Key (DSA or RSA bigger than 2048 bits but): text area
- Click Upload
You will run into The key you lot uploaded has been successfully added to your account! message.
- Click Go Dorsum
- From your Window Showtime menu launchPageant
- Click Add Cardinal
Yous will see familiar Select Individual Key File box.
- Select my_putty.ppk file
- Click Open
You volition see the Pageant: Enter passphrase prompt box.
- Enter the passphrase you entered creating your Private key at the beginning of this procedure
- Click OK
You will now run into the key listed inside the Pageant Key Listing.
- Shut thisPageant window
Excellent! You are now all gear up to run an SSH connection to your web server with Public/Individual keys using PuTTY.
Step #3. Connect to Your Site over SSH with PuTTY
- From your Windows Start menu launch PuTTY
Yous will meet PuTTY Configuration window.
- Click Session
- Enter <your hosting username>@<your_site_domain> into the Host name (or IP accost) field. Make sure in the Connection blazon: section the SSH radio push button is selected
- Under the Connectedness tab, click on the + sign next to SSH
- Click Auth
Y'all volition see the Options decision-making SSH authentication window.
- Click Browse
You lot will encounter the Select private fundamental file window.
- Select my_putty.ppk file
- Click Open
- Click Open once over again
Yous will at present run into the PuTTY control line terminal, resembling the one in the image beneath.
Congratulations! You lot simply connected from your Windows box to your web server over SSH with Public/Private Key pairing using PuTTY SSH client.
How To Connect To Ssh On Windows,
Source: https://ostraining.com/blog/tools-blog/how-to-connect-to-web-server-over-ssh-using-putty-on-windows/
Posted by: valdezeaut1966.blogspot.com
0 Response to "How To Connect To Ssh On Windows"
Post a Comment