arrow_upward

Posted by: Mashiro - 09-25-2019, 06:37 PM - Forum: Tutorials - No Replies
How to convert PuTTY (.ppk) SSH key files to Linux format (.pem)


Hello everyone!

This tutorial is going to be a rather brief guide about how to convert SSH key files created with PuTTY (ppk file extension) to the Linux SSH key file format (pem file extension) so that they can be used with the Linux command line SSH client "ssh".

This tutorial will probably be very helpful for everyone who decided to switch to Linux and use the inbuilt tools instead of installing different / additional SSH clients. In this case you are right here. Unfortunately the Linux ssh client doesn't support the ppk format. Hence why a conversion has to be performed.

P.S.: Yes, there is a Linux version of PuTTY that supports the .ppk format. If you are using the Linux version of PuTTY then this tutorial is not for you. Please move along. Nothing to see here. Don't post a reply saying there is a PuTTY version for Linux. No offense!


First of all you will have to install PuTTY tools. The PuTTY tools package is usually called "putty-tools". It contains command line tools from PuTTY that can be used to create ppk SSH keys, read the content (e.g. public key) and convert the format of these keys (what we want to do).

So start a terminal if you're using a Linux distribution with a GUI or if you are already in a terminal just continue with the commands below.

Commands below have to be performed as root or with sudo!

Debian/Ubuntu/Mint:
Code:
apt-get install putty-tools

RHEL/CentOS:
Code:
yum install putty

Fedora:
Code:
dnf install putty

Arch:
Code:
pacman -S putty


Now you can use the PuTTY tool "puttygen" which is the general tool for SSH key creation and management to convert the format.

Run the command below to convert your key and make sure to adjust the key filenames and the path to the keys.

Convert private key:
Code:
puttygen /path/to/myprivatekey.ppk -O private-openssh -o /path/to/myprivatekey.pem

Convert publicy key:
Code:
puttygen /path/to/myprivatekey.ppk -O public-openssh -o /path/to/mypublickey.pem

If you have a passphrase on your key pair you need to enter your password to allow the converting to proceed.


That's about it! Now you should have .pem files in the folder where your .ppk key files are stored. You can use the .pem files with the Linux ssh client to connect to servers and authenticate yourself. To do so you have to use the -i flag and provide the path to the private key .pem file.

Example:
Code:
ssh -p22 [email protected] -i /home/user/keys/server1-private.pem


Enjoy!

Posted by: Sn1F3rt - 09-25-2019, 11:22 AM - Forum: VPS Reviews - Replies (20)
Hello Post4VPS Community,

Ready for some exciting news? Surely you are. Well, it's a matter of great joy to announce that Post4VPS is getting its own benchmarking script! This will make it a lot easier for newbies to find everything in one place and that too on the 'Tutorials' forum. Isn't it amazing?

So without further delay, let's introduce the benchmarking script. Post4VPS Benchmarking Script v1 is an improved version of @"Hidden Refuge"'s Benchmarking Script 2.0 that can be found here. There are a lot of people who contributed to this benchmarking script previously which shall be highlighted in the credits section of my post.

Before that, let's see what's new in this version:
  • Fixed the problem with Washington DC speed test server, which wasn't allowing the script to execute completely
  • Fixed the OS display problems with CentOS 7
  • Added new speed test servers for users to analyze their VPS's performance from various parts of the world

New fixes, suggestions, improvements are always welcome. You can directly post in this thread or create an issue on GitHub. The Benchmarking Script is released under the MIT license, so anyone with a GitHub account is free to fork it and improve it further, then create a pull request.

The project on GitHub: https://github.com/sohamb03/bench-sh

CREDITS
  • Copyright © 2019 by sohamb03 (Fixing and adding new speed test servers and fixing OS display problems)
  • Copyright © 2015 - 2017 by Hidden Refuge (Various bug fixes and performance improvements)
  • Copyright © 2011 by dmmcintyre3 (Speed Test Modification)
  • Copyright © 2011 by akamaras/camarg (Original Script)

Now coming to the execution portion of the script:

DIRECT RUN:

Code:
wget --no-check-certificate https://raw.githubusercontent.com/sohamb03/bench-sh/master/bench.sh && bash bench.sh && rm -rf bench.sh

OR (if you don't have/want to download wget)

Code:
curl -O https://raw.githubusercontent.com/sohamb03/bench-sh/master/bench.sh && bash bench.sh && rm -rf bench.sh

[NOTE: Your OS might lack trusted CA bundles so please leave --no-check-certificate there so wget can download the file without saying unknown certificate issuer. You can always check the source code on Github if you're not sure what it does.]

Various other options for running the script:

Running the script as above (Direct Run) will run the classic mode that includes the system information, the IPv4 only speed test with 15x 100 MB test files in various regions around the world and the IO test. It will use 1.5 GB of bandwidth.
  • Classic mode with IPv6 only speed test:
    Code:
    ./bench.sh -6
    (This includes the system information, an IPv6 speed test that will download 10x 100 MB files from various regions around the world over IPv6 only and the IO test. This will use 1 GB of bandwidth.)

  • Dual stack speedtest:
    Code:
    ./bench.sh -46
    or
    ./bench -64
    (This includes the system information, the IPv4 and IPv6 speedtest and the IO test. 2.5 GB bandwidth will be used.)

  • System information only:
    Code:
    ./bench.sh -sys
    (This will only display the system information without any speedtest and IO test.)

  • IO test only:
    Code:
    ./bench.sh -io
    (This will perform the 3 run IO test and the average IO calculation only.)

  • Classic mode with system benchmark:
    Code:
    ./bench.sh -b
    (Classic mode with system benchmark. This will use 1.5 GB bandwidth!)

  • IPv6 speedtest with system benchmark:
    Code:
    ./bench.sh -b6
    (IPv6 only speed test with system benchmark. This will use 1 GB bandwidth!)

  • Dual stack speedtest with system benchmark:
    Code:
    ./bench -b46
    or
    ./bench -b64
    (Dual stack speed test with system benchmark. This will use 2.5 GB bandwidth.)
DEMO:

You can see the full result generated by the script including system information, IPv4 speedtest, and the IO test in the link below.

Demo Results: http://pastebin.com/ctVGzzmz

-----x-x-x-----

Vote of Thanks: I'd like to express my sincere gratitude to @"Hidden Refuge" who helped me a lot in the modification of this script to what it's now. His valuable suggestions went a long way in helping users analyze their VPS's performance from different parts of the world. Also, he contributed by testing the beta script on his Debian VPS.

Thanks to @Decent12 who helped in testing this script on Ubuntu platform.

Thanks to @Dynamo, the architect of this forum, for his valuable work of creating this forum and integrating us together here in this community.

Finally, thanks to all the Post4VPS administrators and users who extended their support and encouragement that helped me a lot, especially @deanhills, @perryoo11 and all others who didn't find a mention.

NOTE: This whole thread was typed from my mobile using MyBB MyCode. As a result, errors in format might have crept in. Please feel free to report any such error here in this thread.

Regards,
Posted by: PacPers - 09-25-2019, 02:26 AM - Forum: Offtopic - Replies (14)
What is your best tip on how to make new friends?
It can be hard to make new friends and get started in a social circle. The problem I have found in many places is everyone in that environment already has established social groups and is really not interested in meeting new people!
I have heard the advice of join clubs, find people with similiar interests to you ad nauseum but the advice seems a bit stale and easier said than done.
Would be really interested to hear what you find works for making new friends
Posted by: HariVP - 09-24-2019, 01:31 PM - Forum: General Gaming Discussion - Replies (12)
This battle was a clear win for Steam until a few weeks back...

In short, Valve (owner of Steam) went on a court case against a French company and lost. Now they are legally obliged to make a service where people can sell their used Steam games (unless they win their re).
This can cause many devs to see a significant drop in their earning because now people would be able to buy games for cheaper and they might shift to Epic Games Store.

What are your thoughts on this?
Posted by: youssefbasha - 09-24-2019, 07:03 AM - Forum: Scripting & Programming - Replies (6)
Hello guys!
About 2 weeks ago i found many servers that are making their own bot by discord.js
Many kind of bots, 40% of these bots are for moderating the servers and but the 60% are used to be against discord ToS.
The 40% (the mod bots) can do much things
Like ban,kick,mute,open tickets, give a role to someone, etc..
The 60% are used to sell cracked accounts that is against the discord ToS
Example: the bot owner is cracking some accounts and stocking the bot when you type a specific command the bot send you a PM with the account :3
So i want to ask who here can help me to create a bot but from the 40% because i like these bots and it would be awesome to own a bot by yourself.
If you have any knowledge share it here Big Grin
Sorry for my bad English, no time to re-read the post
Posted by: Pacific Spirit - 09-23-2019, 12:19 PM - Forum: VPS Downtimes - Replies (21)
Hello,
To keep giving you the best service possible maintenance is required.  We  planning a network  maintenance of our Netherlands Network within next two hours. Nothing big, Some Cables need to be switched/changed over. and some Servers need to be re-located.
You can expect your service to be unresponsive for aprox. 10 - 15 minutes. You don't have to do anything and all your services will be online again automatically.
We are very sorry for any troubles caused and we thank you very much for understanding.

 Kind Regards,
Gregory J. Costas.
Posted by: Gregol - 09-23-2019, 08:50 AM - Forum: Tutorials - Replies (13)
Every owner of a website that uses cookies is obliged to inform their users about it. This follows from the telecommunications law.

The new cookie policy applies equally to online stores, news sites and blogs. Also applies to NGO sites. You must inform about cookies if: your website collects, for example, statistics of website traffic for Google Analytics or Gemius, and especially if it displays advertisements based on information contained in cookies.

For wordpress have been createdmany plugins to display a banner with information about cookies.

I would like to recommend two of them. One simple and the other more extended. Both are nice to look. First of them it's Cookie Notice for GDPR by dfactory. Second is GDPR Cookie Consent by WebToffee. Both o them are WPML and Polylang compatible.

Cookie Notice installation:
1. In Wordpress go to Plugins->Add new, then search and install Cookie Notice plugin.
2. Activate plugin. A new cookie notice option will appear in the settings window.
3. You can add link to Privacy policy page. You can choose one of your sites or add custom link.

[Image: cn1.png]

4. You can give to your users Refuse cookies and Change of decision option 

[Image: 88717d96cd.png]

In option you can change position or style your banner.
After thet, your cookie notice bootstrap will be look like this:

[Image: cn3.png]

GDPR Cookie Consent:
1. In Wordpress go to Plugins->Add new, then search and install GDPR Cookie Consent plugin.
2. Activate plugin. A new cookie notice option will appear in dashboard.

[Image: cn5.png]

3. You can customise bar and button.
4. In Non-necessary Cookie tab you can enable or disable Non-necessary Cookies

[Image: 886d40ef9b.png]

5. Your banner will be look like this:

[Image: cn4.png]

6. By clicking cookie setting you can enable or disable Non-necessary Cookies by plugin:

[Image: 8865745eac.png]
I recommend both plugins. Personally I use Cookie notice.
Posted by: Gregol - 09-23-2019, 08:43 AM - Forum: Tutorials - No Replies
There are several options for creating a multilingual Wordpress website. The easiest way to do this is through the plugin
Two plugins are the most popular WPML and Polylang. WPML is a paind plugin, and there is no free version.
Polylang comes in two versions, free and paid Polylang PRO. For most applications free version is enough.

How to create a multilingual Wordpress website using Polylang plugin:

1. In Wordpress go to Plugins->Add new, then search and install Polylang plugin.
2. Activate plugin. A new languages tab will appear in the dashboard.

[Image: P1.png]

3. In Languages tab choose a language to add and click add new language.
4. In settings tab you cen choose what your website address should look like.
5. In strings translations you can translate widgets and plugins. Go to widget adc click filter. Translate widget title for tour language.

[Image: P2.png]

You can translate plugins too, for exqample Cookie notice.

[Image: 875db2dd48.png]

Now you can add language switcher. You can add it to menu, by widget or if hou know html yo can add it manually.

3. Add language switcher to main menu. Go to appearance -> menus -> On language switcher mark the languages box and click add to menu.

[Image: 879ef7f43c.png]

Now you can customise your menu for example, display as a dropdown and display flags.

[Image: 8796a5b14c.png]

And you get something like that:

[Image: 87abd4dab2.png]
4. Add language switcher by widget. Go to appearance -> customize. Depends of your theme, go to widgets -> add a widget and choose language switcher

[Image: 87d7348174.png]

Your site is configured now. Now you can translate pages and posts.

5. Go to Pages

[Image: 881ea96118.png]

You will see your pages list with signs "check box" and "plus" by flags. "Check box" sign is by four default language flag. If you want to translate page press plus button and you will be redirect to new language version page.
After creating second language version page press publish button.

Posts are translated in the same way.

As you can see, creating a multilingual Wordpress page is relatively easy using the polylang plugin.
Posted by: Manal - 09-22-2019, 05:37 PM - Forum: Cheap Providers - Replies (6)
[Image: logo_c.png]

DDoS Protected KVM VPS | Starting From $7/mo | 2 GB RAM | Shadow Hosting

Shadow Hosting presents you a great deal of OVH based VPS hosting in UK location. Grab your KVM based VPS and start your project now.

With Intel® Xeon® CPU D-1521 node and 2 GB DDR4 ECC 2133 MHz and OVH powered custom DDoS protected network solution, you can't go wrong! Grab your server now.

Plans - 
[Image: image.png]

For more information, check out our VPS hosting page.


Contact Us -
Email - [email protected]
Phone Number - +918291064208 (India only).
Pre-Sales Ticket Support - https://shadowhosting.net/billing/contact.php
Live Chat - https://tawk.to/chat/5b73ef56f31d0f771d83cee2/default
Facebook - https://www.facebook.com/shadownetworksinternational
Twitter - https://twitter.com/shadowhostint
Posted by: hamed - 09-22-2019, 04:35 PM - Forum: Scripting & Programming - Replies (1)
Hello . I've bought a virtual server and want to build a personal mtproto proxy on it.
But Google does not provide any good tutorials on this subject. If anyone knows please give me a good tutorial (with terminal code).
I really need it please hlp me
Pages (306): Jump to page 
Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 2,271
» Latest member: orzpainter
» Forum threads: 3,100
» Forum posts: 34,783

Full Statistics

Online Users
There are currently 405 online users.
» 0 Member(s) | 402 Guest(s)
Applebot, Bing, Google

Latest Threads
⚡ EnjoyVPS.Com : 35+ Glob...
Forum: Others
Last Post: RIYAD
01-06-2026, 01:21 AM
» Replies: 0
» Views: 545
Get LLHOST Netherlands Fe...
Forum: Others
Last Post: LLHOST
09-29-2025, 03:02 AM
» Replies: 0
» Views: 985
Super Fast LLHOST Netherl...
Forum: Value VPS Providers
Last Post: LLHOST
09-16-2025, 05:01 AM
» Replies: 0
» Views: 693
Get LLHOST Netherlands Fe...
Forum: Cheap Providers
Last Post: LLHOST
09-08-2025, 01:33 PM
» Replies: 0
» Views: 818
Windows VPS @ $31.5/Year ...
Forum: Cheap Providers
Last Post: DewlanceHosting
08-16-2025, 03:12 AM
» Replies: 0
» Views: 952
Buy DemoTiger Videos on c...
Forum: Others
Last Post: DewlanceHosting
08-16-2025, 03:10 AM
» Replies: 8
» Views: 6,542
Budget Dedicated Servers ...
Forum: Others
Last Post: HostNamaste
08-13-2025, 04:54 AM
» Replies: 2
» Views: 1,982
☁️ How to Use VCCPRO Virt...
Forum: Cheap Providers
Last Post: bestadvisor
07-13-2025, 09:36 AM
» Replies: 0
» Views: 1,419
[Promo] 30% Discount – VP...
Forum: Cheap Providers
Last Post: LLHOST
07-11-2025, 12:56 PM
» Replies: 0
» Views: 1,006
✅ Affordable VPS Hosting ...
Forum: Cheap VPS Providers
Last Post: RIYAD
07-02-2025, 03:02 AM
» Replies: 0
» Views: 2,250

Sponsors: VirMach - Host4Fun - CubeData - Evolution-Host - HostDare - Hyper Expert - Shadow Hosting - Bladenode - Hostlease - RackNerd - ReadyDedis - Limitless Hosting