SSH with TN

HI professionals,
I had a task like transfering a file between trading partners with SSH and TN.
SSH is used as the protocol to send documents securely and TN USage is described below

webMethods Trading Network can be used to route messages to and from partners. Trading Network will maintain information on the partners including connectivity information and document types supported with the partner.

can anyone help me in this task?