FTP not working on a freshly installed Virtualmin

3 posts / 0 new
Last post
#1 Thu, 11/16/2017 - 07:44
yhuynh

FTP not working on a freshly installed Virtualmin

Hello, in older relases of Virtualmin (Debian) I didn't have that problem.

I've just installed Virtualmin on a Debian 8, even the main user of a vhost cannot log into the ftp.

I followed these steps : https://www.virtualmin.com/node/39547 I did the # virtualmin config-system --include ProFTPd

also I checked to No for this Proftpd > Authentication section "Only allow login by users with valid shell?"

The log file /var/log/proftpd doesn't log anything

Version is : ProFTPD Version 1.3.5 I have Filezilla as client.

The error message is : Unable to make a Connexion

Thank you for your help.

UPDATE: I can only login using port 22, how to enable connection on port 21?

UPDATE 2: Nov 17 16:23:01 ns3081147 systemd-logind[13630]: New session c998 of user printplusvitrine.

Nov 17 16:23:22 ns3081147 proftpd: pam_unix(proftpd:session): session opened for user printplusvitrine by (uid=0)

Nov 17 16:23:22 ns3081147 systemd-logind[13630]: New session c999 of user printplusvitrine.

Nov 17 16:24:01 ns3081147 CRON[23854]: pam_unix(cron:session): session opened for user root by (uid=0)

Nov 17 16:24:01 ns3081147 CRON[23854]: pam_unix(cron:session): session closed for user root

Nov 17 16:25:01 ns3081147 CRON[23955]: pam_unix(cron:session): session opened for user root by (uid=0)

Nov 17 16:25:01 ns3081147 CRON[23956]: pam_unix(cron:session): session opened for user root by (uid=0)

Nov 17 16:25:01 ns3081147 CRON[23955]: pam_unix(cron:session): session closed for user root

Nov 17 16:25:02 ns3081147 CRON[23956]: pam_unix(cron:session): session closed for user root

Nov 17 16:25:02 ns3081147 sshd[23953]: Invalid user support from 137.74.40.87

Nov 17 16:25:02 ns3081147 sshd[23953]: input_userauth_request: invalid user support [preauth]

Nov 17 16:25:02 ns3081147 sshd[23953]: pam_unix(sshd:auth): check pass; user unknown

Nov 17 16:25:02 ns3081147 sshd[23953]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=87.ip-137-74-40.eu

Nov 17 16:25:05 ns3081147 sshd[23953]: Failed password for invalid user support from 137.74.40.87 port 49820 ssh2

Nov 17 16:25:05 ns3081147 sshd[23953]: pam_unix(sshd:auth): check pass; user unknown

Nov 17 16:25:07 ns3081147 sshd[23953]: Failed password for invalid user support from 137.74.40.87 port 49820 ssh2

Nov 17 16:25:07 ns3081147 sshd[23953]: pam_unix(sshd:auth): check pass; user unknown

Nov 17 16:25:10 ns3081147 sshd[23953]: Failed password for invalid user support from 137.74.40.87 port 49820 ssh2

Nov 17 16:25:10 ns3081147 sshd[23953]: Connection closed by 137.74.40.87 [preauth]

Nov 17 16:25:10 ns3081147 sshd[23953]: PAM 2 more authentication failures; logname= uid=0 euid=0 tty=ssh ruser= rhost=87.ip-137-74-40.eu

Fri, 11/17/2017 - 15:58
tpnsolutions
tpnsolutions's picture

Hi,

Why would you want to use FTP? Also, port 22 is SSH not FTP.

Best Regards,
Peter Knowles | TPN Solutions
Email: pknowles@tpnsolutions.com | Skype: tpnassist
Thu, 11/30/2017 - 00:54
peter2cfu

this is a very common issue if you look through the forum, this might help you: https://www.virtualmin.com/node/39547

Topic locked