Skip to content

Commit

Permalink
docs(ubuntu): add scp commands
Browse files Browse the repository at this point in the history
  • Loading branch information
LeCoupa committed Sep 11, 2020
1 parent 62efe85 commit fd07239
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tools/ubuntu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,6 @@ df -h # Check the amount of free space

sudo ufw status # Check status
sudo ufw allow from remote_IP_address to any port 3306 # Allow external ip to access port

scp user@remote_host:remote_file local_file # download: remote -> local
scp local_file user@remote_host:remote_file # upload: local -> remote

0 comments on commit fd07239

Please sign in to comment.