Home NetworkingCommand Line Interface (CLI)SSH through host in the middle

SSH through host in the middle

by blackMOREOps

Following command will ssh through host in the middle. Unreachable_host is unavailable from local network, but it’s available from reachable_host’s network. This command creates a connection to unreachable_host through “hidden” connection to reachable_host.

ssh -t reachable_host ssh unreachable_host

That command is awesome and you can not only ssh to “unreachable_host”, but any other command, for example telnet etc.


Discover more from blackMORE Ops

Subscribe to get the latest posts sent to your email.

You may also like

Leave your solution or comment to help others. Comment don't need registration or real email, so feel free.

This site uses Akismet to reduce spam. Learn how your comment data is processed.