Connecting to Linux with SSH in OrasiLabs Test Lab from Ubuntu Desktop

Modified on Mon, 29 Apr at 12:58 PM

SSH connection with Putty Linux/Ubuntu Desktop 


Example: PuTTY running on Linux “client” in same OrasiLabs “Template”

Create Test Lab “Environment”

·         Create a Ubuntu “server” (headless), and

·         Ubuntu “desktop” (with GUI) servers in the OrasiLabs Template

 

Configure Servers

1)      Configure the “Ubuntu Server” to use SSH (you CAN download the private key, but for Linux/Ubuntu server-images internal  to the Lab template, you will not need them).

When you indicate the "Communication Type" to be SSH (only one available for Ubuntu Server, since it does not have a GUI), it defaults to port 22 and expects a private key or a login from a user on the Ubuntu Server.

 

 2)      Start the template, it will automatically login to each included server for you (FYI, the login credentials it used are on the Server details Connection tab in Template Designer).

 

3)      Load PuTTY (or similar SSH client) to the Ubuntu Desktop (GUI) image and use it to connect to the Ubuntu Server (headless) server using the name similar to:

 “server-b.local”.

 

4)      Launch PuTTY

 

5)      Provide the “hostname”, in our case “server-b.local”

 

 

 

5a.       You can also see the names and IP addresses related to servers used in the  OrasiLabs Template by looking at the contents of the /etc/Hosts file.

 

 

 

6)      After specifying to use SSH on port 22 and to address the server “server-b.local”, PuTTY opens a terminal window and will then notify you about some implied trust to that server. 

 

7)      Click Agree and it will continue by prompting you in the terminal window for the userID to login with. Specify the user from the Connection tab for the Ubuntu-server (by default “orasilabs”)

7a.       Note: you CAN specify the login name to use on the Connection/Data section at the left in Putty

7b.       You can also upload the key to the Client server and specify the key to use on the Connection/SSH/auth section (if needed)

8)      Login as “orasilabs” <--  case sensitive

 

9)      It will then complete “logging in” without the password.

 

10)      Now, you can use the Putty terminal to get to the Ubuntu server

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article