sftp icon indicating copy to clipboard operation
sftp copied to clipboard

Wanted: Docs on using NewClientPipe over TCP/TLS

Open samuell opened this issue 9 years ago • 0 comments

In the documentation for NewClientPipe it says:

NewClientPipe creates a new SFTP client given a Reader and a WriteCloser. This can be used for connecting to an SFTP server over TCP/TLS or by using the system's ssh client program (e.g. via exec.Command).

AFAIS, the example below only covers the case when using the system's ssh client program. It would be awesome with a simple example or some pointers to how to connect over TCP/TLS directly too! :)

samuell avatar Feb 24 '16 16:02 samuell