These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for FTP setup and access outdated and not working on the new forum.
I need to pull some files from my website, however FTP won't work. Virtualmin FTP setup is outdated as per https://www.virtualmin.com/documentation/tutorial/how-to-create-ftp-account (the steps do not coincide with the path to the settings described).
Access via FileZilla doesn't connect, so I'm assuming FTP is not setup correctly with Virtulamin.
If there's a better way to pull website files, let me know. SFTP or SCP pushes, but doesn't pull.
Did you check if firewall have open all ports for FTP? For SFTP you just need to use same login details as for SSH.
- I often come to the conclusion that my brain has too many tabs open. -
Failing at desktop publishing & graphic design since 1994.
Howdy,
Yeah you might consider SFTP, rather than FTP, as it's more secure and simpler to get working.
While it's simple to create an account for either of them in Virtualmin, different network setups can cause problems for FTP.
What error do you receive when trying to connect with FileZilla though?
The instructions you saw were close -- instead of "Edit Email and FTP Users", it's now just called "Edit Users".
Everything else in that tutorial is correct.
However, I've updated that documentation to reflect the changes made to newer Virtualmin versions.
-Eric
Thanks, but didn't work so I used other software which worked.
Ok, trying to make Virtualmin FTP or SFTP work. I port forward router to ports 21 and 22. I use FileZilla to access, but never connects.
I follow this link, but doesn't connect https://www.virtualmin.com/documentation/tutorial/how-to-create-ftp-account
It seems the FTP is not allowing connection to Virtualmin. The router has been checked and port forwards to 21 and 22 are working.
Virtualmin has SSH running. FTP was stopped, however I have manually started the FTP service.
I think I'm confused on the access. I'm FTPing to admin@domain.com.
I believe SFTP won't allow access to Vhosts, so I can't access admin@domain.com. So, should I just access the Virtualmin root directory or something.
I really need access, as I remember cPanel was so easy to setup remote FTP access for other users to work with files.
What's going on Virtualmin?
Here's the output of the Virtualmin server /var/log/secure
Ok, I'm setting up sftp chroot jail on the directory /home/domain.com/public_html. If I add the group sftpusers in /home, this should put /domain.com/public_html inside the sftpusers to 'jail' uses to access only these files. I am wondering if this will break Virtualmin at all?
Howdy,
Can you clarify what exactly it is you're looking to change? While I don't believe it would affect Virtualmin, I wanted to better understand the intended changes first :-)
You mentioned something about an sftpusers group -- what is it you're looking to set exactly?
-Eric