Keyless SSH in two easy steps. Wait, What?!

Categories:

cubelogo-2014 Within the ANSYS community and even more specifically, in regards to the various numerical simulation techniques the ANSYS users use to solve their problems.

One of the most powerful approaches to overcome the limitations of new complex problems is take multiple CPU’s and link them together over a distributed network of computers. Further unpacking this for you the reader, one critical piece to using parallel processing using a quality high performance message passing interface (MPI). The latest IBM® Platform™ MPI version 9.1.3 Fix Pack 1 is provided for you in your release with ANSYS 17.0.

When solving a model using distributed parallel algorithms, lately the communication for authenticating your credentials to make this login process seamless is known as Secure Shell, or SSH. SSH is a cryptographic (encrypted) network protocol to allow remote login and other network services to operate securely over an unsecured network.

Today let us all take the mystery and hocus pocus out setting up your keyless or password ssh keys. As you will see this very easy process to complete.

I begin my voyage into keyless freedom by first logging into one of our CUBE Linux server’s.

ssh-1

STEP 1 – Create the key

  • Type ssh-keygen –t rsa
  • Press the enter key three times
    •  (in some instances as shown in the screen capture below, You may see a prompt asking you to overwrite. In that case type y)

ssh-2

STEP 2 – Apply the key

  • Type ssh-copy-id –i ~/.ssh/id_rsa.pub mastel@cs0.www.padtinc.com
  • Type ssh-copy-id –i ~/.ssh/id_rsa.pub mastel@cs1.www.padtinc.com
  • Enter your current password that you would use to login to cs1.www.padtinc.com

ssh-4

All Done!

Now give it a try and verify test.
Login to the first server you setup, In my case CS0.
At the terminal command prompt type ssh cs1

ssh-5

BEST PRACTICE TIP:

I find it is my best practice is to also repeat the ssh-copy-id command using the simple name at the same time on each of the server.

That command would look like:
1. After you have completed Step 2.a listed out below you will also perform the same command locally.
a. ssh-copy-id –i ~/.ssh/id_rsa.pub mastel@cs0
b. enter your old password press enter.

Done, Done!

Additional Links:

Categories

Get Your Ansys Products & Support from the Engineers who Contribute to this Blog.

Technical Expertise to Enable your Additive Manufacturing Success.

PADT’s Pulse Newsletter

Keep up to date on what is going on at PADT by subscribing to our newsletter.


By submitting this form, you are consenting to receive marketing emails from: . You can revoke your consent to receive emails at any time by using the SafeUnsubscribe® link, found at the bottom of every email. Emails are serviced by Constant Contact

Share this post:

Upcoming Events

03/28/2024

SAF Blue Carpet Event

03/28/2024

2024 Arizona Space Summit

04/03/2024

Low Frequency Updates in Ansys 2024 R1 - Webinar

04/03/2024

Venture Madness Conference Reception + Expo

04/03/2024

Stratasys F3300: Game Changing Throughput - Webinar

04/08/2024

39th Space Symposium

04/09/2024

39th Space Symposium

04/10/2024

Discovery Updates in Ansys 2024 R1 - Webinar

04/10/2024

39th Space Symposium

04/11/2024

39th Space Symposium

04/22/2024

Experience Stratasys Truck Tour: Houston, TX

04/24/2024

Structures Updates in Ansys 2024 R1 (2)

04/24/2024

Experience Stratasys Truck Tour: Houston, TX

05/07/2024

Experience Stratasys Truck Tour: Albuquerque, NM

05/08/2024

Fluent Materials Processing Updates in Ansys 2024 R1 - Webinar

05/09/2024

Experience Stratasys Truck Tour: Los Alamos, NM

05/14/2024

Simulation World 2024

05/15/2024

Simulation World 2024

05/16/2024

Simulation World 2024

05/22/2024

Optics Updates in Ansys 2024 R1 - Webinar

06/12/2024

Connect Updates in Ansys 2024 R1 - Webinar

06/26/2024

Structures Updates in Ansys 2024 R1 (3) - Webinar

06/27/2024

E-Mobility and Clean Energy Summit

07/10/2024

Fluids Updates in Ansys 2024 R1 - Webinar

08/05/2024

2024 CEO Leadership Retreat

10/23/2024

PADT30 | Nerdtoberfest 2024

Search in PADT site

Contact Us

Most of our customers receive their support over the phone or via email. Customers who are close by can also set up a face-to-face appointment with one of our engineers.

For most locations, simply contact us: