Last active
May 29, 2020 04:05
-
-
Save ahmadshobirin/90fab89050d67d63f1e4dfbfd221d104 to your computer and use it in GitHub Desktop.
Upload All Files In Folder Local To VPN Server, UBUNTU
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Use SCP, make sure you have installed it or installed it now | |
`sudo apt install openssh-client` or `sudo apt-get install openssh-client` | |
1. Open Terminal | |
2. command: `scp -r localpath/* user@ip:/path/to/upload` | |
Note: | |
`-r` meaning a recursive get all files and sub folder | |
`localpath` is a local folder on your computer, and user `/*` get only files, subfolders | |
`user` your user vpn | |
`ip` yout IP Address vpn | |
`:/path/to/upload` a destination upload file | |
input password vpn appear after this command |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment