How to Connect SSH using ppk File Ubuntu?

By Hardik Savani May 1, 2024 Category : Ubuntu

In this tutorial, you will learn ubuntu login ssh with ppk file. if you have question about how to connect ssh using ppk file ubuntu then i will give simple example with solution. This post will give you simple example of ubuntu ssh with .ppk file login. you can understand a concept of ssh login with ppk file ubuntu example. Let's see bellow example how to connect ssh with ppk file in ubuntu.

If you have server details with .ppk file and you need to connect on ubuntu terminal then i will help you how to login. if you have windows then it's easy to connect using putty software. here we need to generate private file from ppk file then we need to use that private file for connect.

let's see step:

Install putty-tools:

Here we will install putty-tools using terminal command as bellow:

sudo apt-get install putty-tools

Generate Private File:

using puttygen generate private file as bellow:

Syntax:

puttygen <the_key.ppk> -O private-openssh -o <new_openssh_key>.key

Example:

puttygen pricate.ppk -o private-key -O private-openssh

Connect to Server:

now, new generated private-openssh file we will use for connect to server.

ssh -i private-key root@167.11.111.111

now you can able to connect.

I hope it can help you...

Tags :
Shares