Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scp server example and simple client #193

Open
lonnietc opened this issue Dec 24, 2022 · 1 comment
Open

scp server example and simple client #193

lonnietc opened this issue Dec 24, 2022 · 1 comment

Comments

@lonnietc
Copy link

Hello,

I am building a project that will use ssh for the file transfers and have read that SCP is much faster than SFTP for actual file transfers, but that SFTP has file operations that SCP does not.

With this in mind, it would seem that for the lowest latency transfers that an SCP client/server model would be best.

Do you have any examples of these?
Thanks

@jpillor-macquarie
Copy link

FYI, the scp tool uses the sftp subsystem

$ scp -v <(echo helloworld) myserver:~ 2>&1 | grep subsystem
debug1: Sending subsystem: sftp

See https://github.com/gliderlabs/ssh/tree/master/_examples/ssh-sftpserver

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants