Open an SFTP connection from a ssh connection already established.

Aug 15, 2014 at 12:39 PM
gentlemen,

Need a little help.

Need to open an SFTP connection from a ssh connection already established.

I can open a connection to my client with ssh (Server 1) server, however, only the server (server 1) is encouraged to try to establish the connection with other SFTP server (Server 2).

How to accomplish this the ssh.net?

using (SshClient client = new SshClient(server, 22, user, password))
        {
            try
            {
                client.Connect();
cliente.open(SFTP)

?