1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-04 22:55:44 +02:00

sftp: add example (#8142)

This commit is contained in:
CleanMachine1 2022-06-21 14:59:48 +01:00 committed by GitHub
parent 85a9e8993e
commit 4e0e4d8b6d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,6 +13,10 @@
`sftp -P {{remote_port}} {{remote_user}}@{{remote_host}}` `sftp -P {{remote_port}} {{remote_user}}@{{remote_host}}`
- Connect using a predefined host (in `~/.ssh/config`):
`sftp {{host}}`
- Transfer remote file to the local system: - Transfer remote file to the local system:
`get {{/path/remote_file}}` `get {{/path/remote_file}}`