Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Login
  • Contact Us
English (UK)
US English (US)
GB English (UK)

You Bring the MFT Questions

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

Popular Topics: Public,

  • Home
  • Public

Check SSH Public Key Format is Valid

Discover how to verify whether an SSH public key is valid.

Written by Helder Vieira

Updated at September 13th, 2023

  • Public
    Vendor - Specific
+ More

Table of Contents

Issue Solution

Issue

How to check if an SSH public key is valid.


Solution

You can check if an SSH key is valid by using a PowerShell SSH client on Windows 10 machines.

Command format:

 ssh-keygen -f Public_key_file -e -m pem

Bad key:

ssh-keygen -f twscdp2@ngsycdp2.txt -e -m pem
Load key "twscdp2@ngsycdp2.txt": invalid format

Good key:

ssh-keygen -f opctask@gb128n01.txt -e -m pem
-----BEGIN RSA PUBLIC KEY-----
MIGHAoGBAKN32kur5forbORjenPdOxxW0/uKlrMBqI9vQPLzGo6n9Z8s4+FosWJ3
5W4vIpc+DP/gLTB6BcsX5A9xf60LegE9zlO23EVcrlkkL0wVkqU3MeeeK6457sTH
2JsP1cA6PiPET6B3brsNGE0m3RtJTfwuAl0Qx6gTxOMeDju70n+5AgEj
-----END RSA PUBLIC KEY-----

Bad key:

ssh-keygen -f cdadmin@ngsycdp2.txt -e -m pem
Load key "cdadmin@ngsycdp2.txt": invalid format

validity public key

Was this article helpful?

Yes
No
Give feedback about this article

Related Articles

  1. How to Contact Pro2col Technical Support

     481 views of this article

  2. Checking Firewall access

     343 views of this article

  3. Test Files: Creating test files for speed tests

     335 views of this article

Copyright © 2025 Pro2col Ltd

Terms of Sale

Privacy Policy

Support T's & C's


Knowledge Base Software powered by Helpjuice

Expand