Update README.md

This commit is contained in:
2026-04-05 14:57:21 +01:00
parent c1dc30d1ca
commit aee96a257e

View File

@@ -79,11 +79,12 @@ Essentially it is a restricted user who's only function and ability is to transf
With their own SSH key, restricted SSH permissions, no login shell and a modified chroot directory limiting system visability
After this I created an alias within my .bashrc file as follows:
After this I created a function within my .bashrc file as follows:
``` bash
alias send2intra="scp -i /path/2/key "$1" jaileduser@192.168.0.70:/files"
send2intra() {
scp -i /path/2/key "$1" jaileduser@192.168.0.70:/files"
}
```
This allows me to quickly type ```send2intra image.png``` in my terminal and have the file transfered to Apache, hosted and available for download within miliseconds
This allows me to quickly type ```send2intra image.png``` in my terminal and have the file transfered to the container, hosted by Apache and available for download within miliseconds