Search
Close this search box.

Generate SSH Public Key using Mobaxterm for Windows

I don’t know about you but I love to use Mobaxterm by Mobatek (Available to Download from Mobaxterm). The application provides a powerful bash shell for my Windows Machine but for simple usage, it gives me a tool to connect to Linux servers of Target Integration as well as their clients over SSH.

At Target Integration we have recently switched from password-based authentication to key pair-based authentication and hence there has been a need to generate public and private keys for ourselves and our clients.

This guide should help you to generate one easily and quickly.

Note: I am assuming that you have downloaded and Installed at least the personal edition of Mobaxterm (It is important to install it otherwise your SSH key will change every time you run Mobaxterm Portable Edition).

Now run Mobaxterm and type the following:
ssh-keygen -t rsa -C "[email protected]"
this will ask you for a location to store your Public-Private key pair and a name for them as well. If you are not a power user I would suggest leaving the path as it is.

Now you will be prompted for a passphrase. If this is your laptop/desktop you may leave it blank. The public private key pair has now been generated.

Of course, you will have to send your public key to Target Integration so that it can be added to your server.

You can type the following in your command window

more .ssh/id_rsa.pub

Now copy the information printed in the window and send it to us. It will look something like this:

-----BEGIN RSA PUBLIC KEY-----
MIIEowIBAAKCAQEA2PjTTVA26IKMJg+E9wlcfL6xxUhyS5CkAUo70kmrzAST+/DK
vkt4QL0g7j/39y6JXZKSvCysamU7mDm2tpVtnlOXvLDsxmQRIhgmpg44DPBbszuH
Wm6cEnHpvbWbuEBG1MgbQVqDC/TF3Hkg3rsEKqQGfNgFlDkTlAdFX8SYOfPcid4P
j/3iD0Rw4/NSOOMhR8LtCyNjsuasCSRPh0hwxVtf9fAfxv4nuTpeOu19SN/S9Jxi
TfkfsyLUPCXEgvkFL1XZsAksUxlxHOLVJ3Kbz9X5I1m6Vf96QQMEVUpcjQUNeEvq
/CQrh7+aJTlQpUZVN/aj7ZZrhSgHSplyshWJJQIDAQABAoIBAQDL6HT0qNkhhGbf
8h/c5qBT4AdDyAUaPRHU4IX96BybfQXydWakllqqRNQo9Fc+py6TkQdz72wOBZuP
QVYUm7RMYnUs8P1kqXBsoVPZJW3Jwy368IwREfh9YS7xijaRX17x5CmxLrYPy3cT
74ZTrGCLDm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RSA PUBLIC KEY-----

 

If you are still not able to generate an SSH Public Key then contact us our expert will assist you.

Share on:

You may also like

en_US

Subscribe To Our Newsletter