Additionally, read through the sFTP commands and usage tips. Note that to prevent users from accessing the whole file system on the remote host, for security reasons, you can restrict sFTP users to their home directories using chroot Jail. TecMint is the fastest growing and most trusted community site for any kind of Linux Articles, Guides and Books on the web. Millions of people visit TecMint! If you like what you are reading, please consider buying us a coffee or 2 as a token of appreciation.
We are thankful for your never ending support. Have a question or suggestion? Please leave a comment to start the discussion. Please keep in mind that all comments are moderated and your email address will NOT be published. Save my name, email, and website in this browser for the next time I comment. Notify me of followup comments via e-mail. You can also subscribe without commenting. This site uses Akismet to reduce spam.
Learn how your comment data is processed. If you liked this article, then do subscribe to email alerts for Linux tutorials. Where you can download or upload files securely. To get available commands type help on sftp prompt. Use get command to download file from sftp server to local system drive. Use lcd to change location of local download folder. Below command will download remotefile. To download files and folders recursively use -r switch with get command. Below command will download folder remotedir from remote system to local system recursively.
Use put command to upload a file from local system to remote system. Use cd to change location of remote upload folder first. To upload files and folders recursively use -r switch with put command. Below command will upload directory localdir and all files and sub directories to remote server.
Save my name, email, and website in this browser for the next time I comment.
0コメント