Showing posts with label putty. Show all posts
Showing posts with label putty. Show all posts

Friday, 17 July 2020

How to access putty session of AWS EC2 instance using Google chrome extension



Practical steps:

  1. Open Google chrome.

2.Search for ssh chrome extension as shown below.                                                                            



3. Will find the below highlighted official link.Click on it.                                                                       

4.Then the below resultant screen will appears,Click on Add to chrome.                                             



5.Then in the chrome apps list , SSH app will added as shown below.

6.Double click on the above highlighted icon.
  Then enter the user id - ec2-user (Default for all EC2 instance in AWS)
                          host name - enter the public ip of host.


7.open cmd prompt by presing windows key + R , enter cmd in the prompt and press enter.
  • Navigate to download directory, where the private key is download.                                                 
  • by issuing the command:   to generate the public key                                                                                                               
ssh-keygen -y -f  Mykp.pem >Mykp.pub
Here:                                                                                                                   
Mykp.pem  is key name which is download at the time EC2 instance launch.
Mykp.pub  is the name of public key, which could be different from individual.
  • Now rename publlic key.by removing the extension.by running the below command:
ren MyKP.pem MykP




8.Now click on import option here.


9. Provide the path of private key and public key.and click on enter option, which is available at right bottom side of the page.



Hurrah got putty access of EC2 instance through google chrome extension.



how to establish putty connection to AWS EC2 instance using AWS console


  1. launching putty session for AWS EC2 instance using AWS console.                                              
  • log in AWS Account.                                                                                                                         
  • Navigate to Services --> in the Compute section -->select EC2.                                                   
  • Then the below screen appears, Navigate to connect option     -->EC2 instance connect (Instance - based SSH connection).  -->click on Connect (as highlighted below).

  • Then the putty screen will opens as below.                                                                                        

Tuesday, 5 November 2019

how to broadcast a message to all the putty session in linux

Syntax

$wall ' your message'


ex: $wall 'system will be restart for maintenance in 10 minutes'