forked from snxraven/ravenscott-blog
update
This commit is contained in:
parent
d215bdb89b
commit
530d7ddb05
@ -2051,9 +2051,11 @@ sudo chmod +x /usr/bin/sshup-all
|
|||||||
|
|
||||||
#### How it works:
|
#### How it works:
|
||||||
**User Prompts**: The script prompts the user for their `SSHID` and `KEY`, which are necessary for identifying the container and validating the upload.
|
**User Prompts**: The script prompts the user for their `SSHID` and `KEY`, which are necessary for identifying the container and validating the upload.
|
||||||
|
|
||||||
**Creating Upload Scripts**:
|
**Creating Upload Scripts**:
|
||||||
- `sshup`: A command-line utility for uploading a single file.
|
- `sshup`: A command-line utility for uploading a single file.
|
||||||
- `sshup-all`: A utility for uploading all files in the current directory.
|
- `sshup-all`: A utility for uploading all files in the current directory.
|
||||||
|
|
||||||
**Permissions**: The scripts are saved under `/usr/bin/` and made executable, allowing users to run the uploader from anywhere on their system.
|
**Permissions**: The scripts are saved under `/usr/bin/` and made executable, allowing users to run the uploader from anywhere on their system.
|
||||||
|
|
||||||
Once installed, users can upload files using the command `sshup <filename>` and receive an output like:
|
Once installed, users can upload files using the command `sshup <filename>` and receive an output like:
|
||||||
|
Loading…
Reference in New Issue
Block a user