Koozali.org: home of the SME Server
Obsolete Releases => SME Server 8.x => Topic started by: meelis on June 11, 2013, 09:10:10 AM
-
My ftp not working, i can use only SCP protocol (winscp), if i try connect width ftp i see error "access denied". Server manager under remote access enabled ftp access to? SCp protocol fine but WordPress needs ftp or sftp.
This my ftp settings:
ftp=service
DisableAnonymous=yes
LoginAccess=public
TCPPort=21
access=public
status=enabled
-
I installed vsftpd, but if run command /etc/init.d/vsftpd not started. Have anyone get work this?
-
ftp on SME works (or always has for me), but still passes user login information in plain text.
The devs have been hoping to remove ftp from the base since 2006, or re-work how SME handles it: Bug 717 (http://bugs.contribs.org/show_bug.cgi?id=717)
If you still want to use ftp:
Anyone listed in /etc/ftpusers will be denied ftp access. By default this includes 'root' and any groups you have created in server-manager (which also denies access to the members of those groups).
You can get a server-manager panel for configuring ftp users and chroot paths by installing Remoteuseraccess (http://wiki.contribs.org/Remoteuseraccess) (but search the forums and bugzilla for any recent reports of problems before you install).
As for why things aren't working, check your log files to see if you're getting any useful error message -
/var/log/messages
/var/log/ftp/*
/var/log/secure
-
I tried chmod 0777 but nothing, i tried login as root, nothing?
/var/log/messages
Jun 12 07:59:43 www proftpd[4200]: 192.168.4.2 (192.168.4.30[192.168.4.30]) - FTP session opened.
Jun 12 07:59:43 www proftpd[4200]: 192.168.4.2 (192.168.4.30[192.168.4.30]) - FTP session closed.
/var/log/ftp/*
-bash: /var/log/ftp/@400000004e2d2d25059eca14.u: Permission denied
/var/log/secure
-bash: /var/log/secure: Permission denied
-
If you still want to use ftp:
Anyone listed in /etc/ftpusers will be denied ftp access. By default this includes 'root' and any groups you have created in server-manager (which also denies access to the members of those groups).
I personally use remoteuseraccess, and it allows you to change a user to sudo access, so no need to login as root. Also, I don't think you can login as root no matter what. I've tried deleting the user from /etc/ftpusers, but it still didn't work. But it's not even worth trying now that you can assign sudo to any user.
I use it a lot when I purchase a web app that needs troubleshooting by the developer.
You can login as root, however, for SFTP