Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am set up a Centos7 system to handle tftp and sftp. I have them both working, but I would like to have an account tftp or another account that tftp and account has full access to the tftp directory. Also I would like that account to have the sftp login directory as the tftp so that I can keep all files and folders with access and in one directory. I would like the account to not have login priv.
How can I accomplish this? I am using vsftpd for sftp.
vsftpd can NOT be used for sftp. It is used for ftp (insecure) or ftps (ftp over SSL) but they are not the same thing as sftp. The "vs" in "vsftpd" stands for "Very Secure".
sftp is native to Linux and uses ssh key security rather than SSL so is completely different from ftps.
There are ways to do logins via sftp and have it allow for sudo switch to another user.
I haven't worked with tftp in quite a while and never did use it the way you're asking so couldn't tell you how to make it talk to sftp, ftp or ftps.
Last edited by MensaWater; 01-04-2019 at 10:18 AM.
Reason: ehartman :D
Part of the sentence missing, you probably mean something like "stands for Very Secure".
To be exact, vsftpd is a "standard FTP" server (daemon) with secure transfer mode, BUT
it hasn't been updated anymore in more then 3 years and most likely is dead.
It _is_ a complete different server from a sftp one, which is served by a ssh daemon
(either internal or through a subsystem).
Part of the sentence missing, you probably mean something like "stands for Very Secure".
To be exact, vsftpd is a "standard FTP" server (daemon) with secure transfer mode, BUT
it hasn't been updated anymore in more then 3 years and most likely is dead.
It _is_ a complete different server from a sftp one, which is served by a ssh daemon
(either internal or through a subsystem).
What would I use to setup a SFTP Server for my secure transfers that is available and updated?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.