linux - How to allow file uploading outside home directory with SSH? -
I am running a Fedora 8 Core Server SSH is enabled and I login with port 9 (FTP Client) I can. While logging in, I can successfully upload files to the User Home directory. I can only browse the file outside the home directory, can not upload / change anything. How can I upload files to a specific directory outside the user's home directory?
An easy way is to provide user rights for the folder that you want to be able to upload. Then, add a SIMLink (link-s) from your home folder to the destination.
You can also use it
scp file user @ server: / path that you upload to any directory
- The file to copy is
- User & amp; The server should be clear
- / path is a destination path on the server that you have rights; / Home / user / will be your default default folder
Comments
Post a Comment