Skip to main content
Formatting and correcting of `-p` --> `-P` (and added one missing -P).
Source Link
Kusalananda
  • 356.1k
  • 42
  • 737
  • 1.1k

scp username@ipaddress:pathtofile localsystempath

scp sadananad@ipaddress:/home/demo/public_html/myproject.tar.gz .

scp username@ipaddress:pathtofile localsystempath scp sadananad@ipaddress:/home/demo/public_html/myproject.tar.gz . 

If your using with port, scp portnumber username@ipaddress:pathtofile localsystempath

scp -P2233 sadananad@ipaddress:/home/demo/public_html/myproject.tar.gz .

scp requires a capitol p in most instances.

scp -Pportnumber username@ipaddress:pathtofile localsystempath scp -P2233 sadananad@ipaddress:/home/demo/public_html/myproject.tar.gz . 

scp username@ipaddress:pathtofile localsystempath

scp sadananad@ipaddress:/home/demo/public_html/myproject.tar.gz .

If your using with port, scp portnumber username@ipaddress:pathtofile localsystempath

scp -P2233 sadananad@ipaddress:/home/demo/public_html/myproject.tar.gz .

scp requires a capitol p in most instances.

scp username@ipaddress:pathtofile localsystempath scp sadananad@ipaddress:/home/demo/public_html/myproject.tar.gz . 

If your using with port:

scp -Pportnumber username@ipaddress:pathtofile localsystempath scp -P2233 sadananad@ipaddress:/home/demo/public_html/myproject.tar.gz . 

scp username@ipaddress:pathtofile localsystempath

scp sadananad@ipaddress:/home/demo/public_html/myproject.tar.gz .

If your using with port, scp portnumber username@ipaddress:pathtofile localsystempath

scp -p2233P2233 sadananad@ipaddress:/home/demo/public_html/myproject.tar.gz .

scp requires a capitol p in most instances.

scp username@ipaddress:pathtofile localsystempath

scp sadananad@ipaddress:/home/demo/public_html/myproject.tar.gz .

If your using with port, scp portnumber username@ipaddress:pathtofile localsystempath

scp -p2233 sadananad@ipaddress:/home/demo/public_html/myproject.tar.gz .

scp username@ipaddress:pathtofile localsystempath

scp sadananad@ipaddress:/home/demo/public_html/myproject.tar.gz .

If your using with port, scp portnumber username@ipaddress:pathtofile localsystempath

scp -P2233 sadananad@ipaddress:/home/demo/public_html/myproject.tar.gz .

scp requires a capitol p in most instances.

Source Link

scp username@ipaddress:pathtofile localsystempath

scp sadananad@ipaddress:/home/demo/public_html/myproject.tar.gz .

If your using with port, scp portnumber username@ipaddress:pathtofile localsystempath

scp -p2233 sadananad@ipaddress:/home/demo/public_html/myproject.tar.gz .