I am quite new to SSH and Ubuntu. I am trying to connect to a server (e.g.
server1.com) via SOCKS5 proxy host (e.g.
proxy1.com) for which username and password is already given. I am including the jump host directives and path to proxy username and password in the SSH config file but no luck until now as I am always getting an error:
unable to resolve proxy hostname
.ssh/config file format is as below:
Host host1 HostName server1.com Port 22 ProxyCommand ssh username:firstname.lastname@example.org portnum %h %p
And then I am using
ssh host1 to initiate the session.
Can anyone give me the possible solutions?