Friday, April 16, 2021

Magic ssh connection

In this tutorial, we will connect ssh of remote machine,
and launch remote machine application in our system.


SSH stand for (Secure Shell Protocol) is a cryptographic network protocol for operating network services securely over public and private network.
It's Bydefault port number is 22

Step 1) Edit /etc/ssh/sshd_config on the remote machine, and uncomment below syntax.

X11Forwarding yes
X11DisplayOffset 10
X11UseLocalhost yes

Step 2) Restart ssh service 

$ sudo service sshd restart

Step 3) Take ssh connection, by following command.

$ ssh -X -C user@ip_address

Step 4) Check the Display section.

$ echo $DISPLAY

Note :-  If Application is closed on remote computer, than you can access in your system.
Note :-  You can closed the application by the kill command on the remote machine.s

Step 5) Write the application name.

$ thunderbird

No comments:

Post a Comment

testing