I want to connect to a remote machine using SSH. Unfortunately, it seems that the SSH ports are closed. I found the following solution, but it is not convincing and relies on commercial software (Anydesk).
The remote machine does not have a monitor or dummy HDMI. I can connect to this remote machine via Anydesk, but I can only see a black screen. I then create a TCP tunnel as shown in the figure below.
While Anydesk is running, I can connect to the remote machine via SSH using the following command line:
ssh -p 2223 user@127.0.0.1
I want to achieve this without depending on any commercial software. Do you have any ideas on how I can connect via SSH?

Asked by erdi sayar
(1 rep)
May 28, 2024, 09:26 AM
Last activity: May 29, 2024, 08:18 AM
Last activity: May 29, 2024, 08:18 AM