• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

FTP Access on VPS Cloud server 1&1

Julien Lacour

New Pleskian
Hi everybody,

i'm new in Plesk management, and i need your help.

I want to allow FTP access on my server Plesk.

So i create my users in FTP Access on my principal domain, but when i try to login with Filezilla, don't work :

by FTP :
Status: Connecting to xxx.xxx.xxx.xxx:21...
Status: Connection established, waiting for welcome message...
Error: Could not connect to server
Status: Waiting to retry...

by SFTP :
Response: fzSftp started, protocol_version=8
Command: open "[email protected]" 22
Command: Pass: ******
Status: Connected to xxx.xxx.xxx.xxx
Error: Received unexpected end-of-file from SFTP server
Error: Could not connect to server


can someone help me, the support of 1&1 isn't good?

thanks all

My configuration :
Server Linux Ubuntu 16.04
Plesk 17.5.3 Update #16
 
Yes i have already try this solution, but don't work, I just tested again.

I try to open the 20 port, but despite the rule is set the port is closed.
 
Hi Julien Lacour,

Look at the image.
ftp modes.jpg

If you spoke about port 20, this is active FTP connection. In this case, you need public IP-address on a computer with FTP client. FTP-server will connect to FTP-client from port 20. You do not need to configure a firewall to allow incoming connection to the server to 20/tcp port.

If you haven't public IP-address on the computer with FTP-client, you should use passive FTP. In this case, you need to look at KB by link Cannot connect to FTP in passive mode
 
Hi everybody,

i'm lost, for testing, i open a new contract VPS 1&1 (30 days offers), and i test on it.

I open the ports i need, see image

upload_2017-8-11_17-10-5.png


and i'm going create ftp user for testing

upload_2017-8-11_17-11-50.png


So i try to connect by Filezilla or Cute FTP in differents mods, but nothing

The only parameter i see in Tools & Settings is this

upload_2017-8-11_17-16-44.png


I try to add PassivePorts in proftpd.conf, but it's the same problem

Here my proftpd.conf, if someone else can help me

Code:
#
# To have more informations about Proftpd configuration
# look at : http://www.proftpd.org/
#

# This is a basic ProFTPD configuration file (rename it to
# 'proftpd.conf' for actual use.  It establishes a single server
# and a single anonymous login.  It assumes that you have a user/group
# "nobody" and "ftp" for normal operation and anon.

ServerName                      "ProFTPD"
#ServerType                     standalone
ServerType                      inetd
DefaultServer                   on

<Global>
PassivePorts 49152 65534
DefaultRoot     ~               psacln
AllowOverwrite          on
<IfModule mod_tls.c>
        # common settings for all virtual hosts
        TLSEngine on
        TLSRequired off

        TLSLog /var/log/plesk/ftp_tls.log

        TLSRSACertificateFile /opt/psa/admin/conf/httpsd.pem
        TLSRSACertificateKeyFile /opt/psa/admin/conf/httpsd.pem

        # Authenticate clients that want to use FTP over TLS?
        TLSVerifyClient off

        # Allow SSL/TLS renegotiations when the client requests them, but
        # do not force the renegotations.  Some clients do not support
        # SSL/TLS renegotiations; when mod_tls forces a renegotiation, these
        # clients will close the data connection, or there will be a timeout
        # on an idle data connection.
        TLSRenegotiate none

        # As of ProFTPD 1.3.3rc1, mod_tls only accepts SSL/TLS data connections
        # that reuse the SSL session of the control connection, as a security measure.
        # Unfortunately, there are some clients (e.g. curl) which do not reuse SSL sessions.
        TLSOptions NoSessionReuseRequired
</IfModule>
</Global>

DefaultTransferMode     binary
UseFtpUsers                     on

TimesGMT                        off
SetEnv TZ :/etc/localtime
# Port 21 is the standard FTP port.
Port                            21
# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
Umask                           022

# To prevent DoS attacks, set the maximum number of child processes
# to 30.  If you need to allow more than 30 concurrent connections
# at once, simply increase this value.  Note that this ONLY works
# in standalone mode, in inetd mode you should use an inetd server
# that allows you to limit maximum number of processes per service
# (such as xinetd)
MaxInstances                    30

#Following part of this config file were generate by PSA automatically
#Any changes in this part will be overwritten by next manipulation
#with Anonymous FTP feature in PSA control panel.

#Include directive should point to place where FTP Virtual Hosts configurations
#preserved

ScoreboardFile /var/run/proftpd_scoreboard

# Primary log file mest be outside of system logrotate province

TransferLog /var/log/plesk/xferlog

#Change default group for new files and directories in vhosts dir to psacln

<Directory /var/www/vhosts>
        GroupOwner      psacln
</Directory>

# Enable PAM authentication
AuthPAM on
AuthPAMConfig proftpd

IdentLookups off
UseReverseDNS off

AuthGroupFile   /etc/group

Include /etc/proftpd.d/*.conf

AuthUserFile /etc/ftpd.passwd

thanks guys
 
Back
Top