diff --git a/README.md b/README.md index 9771758..ea7d943 100644 --- a/README.md +++ b/README.md @@ -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 \ No newline at end of file +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