when generated new one pure-ftpd.pem file:
openssl req -newkey rsa:1024 -new -nodes -x509 -days 3650 -subj “/C=US/ST=Denial/L=Springfield/O=Dis/CN=example.com” -keyout /etc/ssl/private/pure-ftpd.pem -out /etc/ssl/private/pure-ftpd.pem
error:
00:21:08 Status: Resolving address of example.com
00:21:08 Status: Connecting to xx.xx.xxx.xxx:21…
00:21:08 Status: Connection attempt failed with “ECONNREFUSED - Connection refused by server”.
00:21:08 Error: Could not connect to server
when i used original pure-ftpd.pem file after Cyber Panel installation:
error:
Host: example.com:21 hostname does not match certificate
If its a new installation I advice you install cyberpanel afresh and make sure its the stable branch you are using. The server has to be a clean os no apache no extra firewalls etc. I would recommend Ubuntu 20.04LTS 64 bit.
Using an ssh client such as Remmina, Bitvise log into your server using sudo user or root and make sure you are at root e.g.
# just logged in
root@vpsi1209:~$ cd ~/
root@vpsi1209:~$ sh <(curl https://cyberpanel.net/install.sh || wget -O - https://cyberpanel.net/install.sh)
# choose OLS or Litespeed if you got License
# choose a full installation - Power DNS etc
# Remote MySQL is set to No by default
# Watchdog stays as default Yes
# Reboot server
# setup FTP user and use your favourite FTP Client to log in
Do not do anything else. Post any issues here.
Tried it once for a client some technologies did not work as expected after a few days. I recommended the client to ditch it and they have never had any issues since then.
After this installation pure-ftpd has some files but was not installed, so i installed it. Now it work but i have problem with ftp login as i said in my first post.
So, is that image should work properly? What commands should we do to add correctly ftp users in CP and later login by this user from FileZilla ?
We installed CyberPanel from Image: “Google Cloud console” ( https :// console. cloud. google. com/marketplace/product/gc-image-pub/cyberpanel?project=top-sentinel-316706) - question is: why after this install ftp does not work correctly ?
As i said in first post, question is what option should I use:
And later i try to login via FileZilla:
when generated new one pure-ftpd.pem file:
openssl req -newkey rsa:1024 -new -nodes -x509 -days 3650 -subj “/C=US/ST=Denial/L=Springfield/O=Dis/CN=example.com” -keyout /etc/ssl/private/pure-ftpd.pem -out /etc/ssl/private/pure-ftpd.pem
error:
00:21:08 Status: Resolving address of example.com
00:21:08 Status: Connecting to xx.xx.xxx.xxx:21…
00:21:08 Status: Connection attempt failed with “ECONNREFUSED - Connection refused by server”.
00:21:08 Error: Could not connect to server
when i used original pure-ftpd.pem file after Cyber Panel installation:
error:
Host: example.com:21 hostname does not match certificate
when generated new one pure-ftpd.pem file:
openssl req -newkey rsa:1024 -new -nodes -x509 -days 3650 -subj “/C=US/ST=Denial/L=Springfield/O=Dis/CN=example.com” -keyout /etc/ssl/private/pure-ftpd.pem -out /etc/ssl/private/pure-ftpd.pem
logs from ftp www:
Jan 18 22:20:08 localhost pure-ftpd: (?@unn-45-134-212-249.datapacket.com) [INFO] New connection from unn-45-134-212-249.datapacket.com
Jan 18 22:20:15 localhost pure-ftpd: (?@unn-45-134-212-249.datapacket.com) [WARNING] Authentication failed for user [testuser_ftp]
Jan 18 22:20:15 localhost pure-ftpd: (?@unn-45-134-212-249.datapacket.com) [INFO] Logout.
Jan 18 22:20:28 localhost postfix/anvil[128751]: statistics: max connection rate 1/60s for (smtp:xxx.98.11.53) at Jan 18 22:15:57
Jan 18 22:20:28 localhost postfix/anvil[128751]: statistics: max connection count 1 for (smtp:xxx.98.11.53) at Jan 18 22:15:57
Jan 18 22:20:28 localhost postfix/anvil[128751]: statistics: max cache size 1 at Jan 18 22:15:57
when i used original pure-ftpd.pem file after Cyber Panel installation:
logs from ftp www:
Jan 18 22:24:53 localhost postfix/smtpd[135194]: warning: hostname secua.poppopprision.com does not resolve to address xxx.98.11.54
Jan 18 22:24:53 localhost postfix/smtpd[135194]: connect from unknown[xxx.98.11.54]
Jan 18 22:24:55 localhost postfix/smtpd[135194]: warning: unknown[xxx.98.11.54]: SASL PLAIN authentication failed:
Jan 18 22:24:55 localhost postfix/smtpd[135194]: disconnect from unknown[xxx.98.11.54] ehlo=1 auth=0/1 quit=1 commands=2/3
Jan 18 22:25:05 localhost postfix/smtpd[135194]: connect from unknown[xxx.98.10.131]
Jan 18 22:25:07 localhost postfix/smtpd[135194]: warning: unknown[xxx.98.10.131]: SASL PLAIN authentication failed:
Jan 18 22:25:07 localhost postfix/smtpd[135194]: disconnect from unknown[xxx.98.10.131] ehlo=1 auth=0/1 quit=1 commands=2/3
Jan 18 22:25:08 localhost pure-ftpd: (?@unn-45-134-212-249.datapacket.com) [INFO] New connection from unn-45-134-212-249.datapacket.com
Jan 18 22:25:13 localhost postfix/smtpd[135194]: connect from unknown[xxx.98.10.106]
Jan 18 22:25:15 localhost pure-ftpd: (?@unn-45-134-212-249.datapacket.com) [WARNING] Authentication failed for user [testuser_ftp]
Jan 18 22:25:15 localhost pure-ftpd: (?@unn-45-134-212-249.datapacket.com) [INFO] Logout.
Jan 18 22:25:16 localhost postfix/smtpd[135194]: warning: unknown[xxx.98.10.106]: SASL PLAIN authentication failed:
Jan 18 22:25:16 localhost postfix/smtpd[135194]: disconnect from unknown[xxx.98.10.106] ehlo=1 auth=0/1 quit=1 commands=2/3
What is the correct step to use ftp after installation from google image ?
So, probably this is stable version (but i think its newest not like in this unactual probably link becouse we have with this image: * OS: Ubuntu 22.04
Got a similar issue, seams like pure-ftpd-mysql can’t read the users in the database. Connection seams to be fine (tested to set the wrong password on purpose to see the output and to be sure).