What is the difference between -D and -L in SSH tunneling options?

2

1

Besides the fact that -D is a SOCKS proxy which operates through one port, is there any other differences? Specifically, would there be any differences in terms of HTTPS connections?

vinhboy

Posted 2011-04-30T18:08:02.957

Reputation: 321

Answers

1

The only difference between -D and -L is how the destination server is specified, which you already mentioned. There are no differences for HTTPS; both options provide you a channel for TCP connections without any regards to the data transferred.

user1686

Posted 2011-04-30T18:08:02.957

Reputation: 283 655