I have looked all around but couldn't find the answer to a very simply question:
I would like to log into machine C from machine A, passing through machine B. However, B is slow, so I would also like my connection to C to be compressed/decompressed at C, tunneled through B, and decompressed/compressed at A.
What ssh command should I execute (in machine A) to get a prompt at machine C when:
- I am physically at machine A.
I can use ssh to log directly...
2.1. ... into machine B from A
2.2. ... into machine C from B
I cannot log into machine C from A directly
This is not a duplicate because:
- I am not asking how to forward traffic in general, only an ssh connection, so there could be a different answer for the particular case of ssh forwarding through ssh
- I am asking for compression at the ends (as even the title mentions)