-1

In order to access a Linux host through a firewall/NAT I am required to use an SSH "bounce host". I am concerned with the possibility that this bounce host may be logging my SSH session. In a test environment I am able to log anything that is displayed on the console, including screen sessions.

What steps can I take to ensure that my SSH session will be secure/private if this bounce host does indeed perform logging?

Tuaris
  • 71
  • 2
  • 13

1 Answers1

0

It depends on how exactly you are using this bounce host.

If you use ProxyCommand, or Netcat mode (in OpenSSH 5.4+) there are basically two separate encrypted connections. One between you and the bounce host, and a completely separate connection between your local client and the far host. In this mode the only thing the intermediate host would know is that you ran where using it as a proxy.

If on the other hand you are just connecting to the intermediate host, and then launching an ssh connection from that host to the far host, then yes, potentially everything you do could be monitored.

Zoredache
  • 130,897
  • 41
  • 276
  • 420