SSH:could not resolve hostname **.**.***.** in windows OpenSSH while giving commands

My basic idea is to secure my VNC connection using Secure shell.

For this I am using OpenSSH for windows.

I have installed SSHD on server.

And PuTTY and SSH on client which gives me 2 options for client use.

Case 1:

When I try to connect using 'PuTTY' ,where I have enabled tunneling option for security, I am successfully able to log into the server and then I start my vnc session and it also runs smoothly.

But my problem is this VNC session is not communicating through the tunnel which I expected. And according to this ; it should go through the selected tunnel and I could see the same by selecting the traffic through the port.

Case 2:

When i try 'SSH' client to connect, i am again able to successfully log into the SSHD server.

But when i try giving available commands such as ssh w21821@10.31.128.34 - l ,ssh - w w21821[:10.31.128.34]

I get SSH :Could not resolve host name : name or service not known

I am unable to find why i am failing to establish this tunnel using both the options.

Any guidance would be appreciated, Thanks!

3 Reset to default

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like