I'm setting up a server application which requires to establish a secure connection over SSH2, e.g. a client must open SSH2 connection to the server to reach specific application:
% ssh -s -p5000 my.server.com app
I want to understand, what exactly is happening after this command has completed? How client/server know that they have to run over SSH secure channel? Is this called ssh tunneling, or it has different name for it?