I was wondering what is more secure: using tor or ssh tunneling.
Tor uses "Onion Routing", which means that each node except that exit node can't see the data that is being due to encryption layer.
SSH tunneling uses strong encryption to the remote server, and encapsulates the specific protocol underneath, but what if the protocol that is being encapsulated is not secure, like http ?
If I put a sniffer on the ssh server, it can sniff the data that is being forwarded through an unsecure protocol (e.g http) that was encapsulated through the connection to it ? If I understand correctly, this is impossible with tor because the data is being encrypted.