downlod remote server on linux terminal code example
Example 1: scp download file
scp remote_username@remote_addr:/remote/path/file.txt .
Example 2: ssh download file
scp [email protected]:foobar.txt /local/dir
scp remote_username@remote_addr:/remote/path/file.txt .
scp [email protected]:foobar.txt /local/dir