Hello Sreekanth,
Why not use something like ssh jumphost command like so:
ssh -i {keypath} -o ProxyCommand="ssh -i {keypath} -W %h:%p user@{jumphost}" user@{hiddenhost}
where:
• jumphost is IP of your publicly accessible instance,
• hiddenhost is IP of your host in the private network...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.