notes

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 0e5a19da0bd15107b86c0f8c340dee729c76c158
parent 633de648a49528fa638c2dedd6ffbd89ef112888
Author: ling0x <ling0x@users.noreply.github.com>
Date:   Tue, 25 Aug 2026 00:22:23 +0100

ssh rsync

Diffstat:
Acommands/rsync.txt | 12++++++++++++
Acommands/ssh.txt | 19+++++++++++++++++++
2 files changed, 31 insertions(+), 0 deletions(-)

diff --git a/commands/rsync.txt b/commands/rsync.txt @@ -0,0 +1,11 @@ +=============================================================================== +rsync +=============================================================================== + +rsync via SSH: + +Local -> Remote: +rsync -avz -e ssh /local/path/ user@remote_host:/remote/path/ + +Remote -> Local: +rsync -avz -e ssh user@remote_host:/remote/path/ /local/path/ +\ No newline at end of file diff --git a/commands/ssh.txt b/commands/ssh.txt @@ -0,0 +1,18 @@ +=============================================================================== +SSH +=============================================================================== + +SSH Port Forwarding: + +ssh -L <local_port>:localhost:<remote_port> user@remote_host + +ssh -L 3000:localhost:3000 user@remotehost + + +rsync via SSH: + +Local -> Remote: +rsync -avz -e ssh /local/path/ user@remote_host:/remote/path/ + +Remote -> Local: +rsync -avz -e ssh user@remote_host:/remote/path/ /local/path/ +\ No newline at end of file