Tuesday, December 15, 2020

How to access any Linux terminal from windows

 If you want to access any Linux terminal within your network you can follow the following 

Step 1(on Linux): 

    Execute the following command on the terminal

$ hostname –I

    to see the IP address/ hostname of your Linux 

    If you don't get the address then execute the following two commands

$ sudo apt install net-tools

$ Ifconfig

    From the texts find the inet number

Step 2(on Linux): 

Check the ssh Status by executing the following command 

$ service -- status-all

Find if there is [-] ssh is in the list where the - before ssh indicates it is not running.

Try to execute the following command 

$ service ssh start

If you couldn't succeed to execute the above command then install ssh by executing the following command and try to start ssh again

$ sudo apt-get install ssh

Step 3(on windows):

    Download and Install PuTTY software. After running putty you will see the following

    
    Provide the IP you get from step 1 and place it in the PuTTY software's IP address field. Press okay and enjoy


No comments:

Post a Comment

Featured Post

Comparison of Sorting Algorithms at a Glance

I have compiled a comparison of major sorting algorithms. Hope, this will help in your upcoming interview.