πŸ’‘
cheatsheets
  • πŸ‘‹Introduction
  • πŸ‹Docker
  • πŸ’ͺBrute Force
    • Hydra
  • πŸ—οΈCryptography
    • Generate pub/priv key
  • 🐧Linux
    • Curl
    • Debian
    • Fail2Ban
    • Find
    • Grep & Co
    • Netstat
    • ps
    • pdfcrack
    • qpdf
    • Rsync
    • Scp
    • Tmux
    • Ufw
    • Vim
  • 🐍Python
    • Files Handling
    • Web
  • πŸ‘οΈRecon
    • Cewl
    • DNS
    • Host Discovery
    • nmap
    • Web
  • πŸ”Splunk
    • tstats
  • πŸ“‘SSH
  • πŸ•ΈοΈWeb
    • Gobuster
    • OWASP
    • SQLi
      • Resources
  • ⛏️Resources
    • πŸ“‘Cheatsheets
    • πŸ‹οΈTrainings
Powered by GitBook
On this page
  • scp
  • Upload a directory
  • Upload a file
  • Download a directory
  • Download a file
  1. Linux

Scp

scp

Upload a directory

scp -r /path/to/local/source user@ssh.example.com:/path/to/remote/dest

Upload a file

scp /path/to/local/file user@ssh.example.com:/path/to/remote/dest

Download a directory

scp -r user@ssh.example.com:/path/to/remote/source /path/to/local/dest

Download a file

scp user@ssh.example.com:/path/to/remote/file /path/to/local/dest
PreviousRsyncNextTmux

Last updated 1 year ago

🐧