Unable to Connect to FTPS Server from CentOS 7

Asked 2 years ago, Updated 2 years ago, 63 views

Status

Recruit named RAFTEL from Sakura's VPS (CentOS 7) uses
I'd like to put it on the FTPS server in the integrated service, but I can't connect to the FTPS server.

protocols:TCP
ports:20/21
packet filter utilization settings:disabling

In order to connect to the other FTPS server with the VPS command, what should I first configure and what commands should I execute?The SSL configured on the VPS is free Let's encrypt.

The destination FTPS server is either looking at the source IP address or cannot connect with typical FTP clients (Filezilla, FFFTP, Cyberduck).
Is the source IP address restricted when connecting to FTPS?
I am using Windows 10 and I may have misunderstood Sakura's VPS from the beginning, so I would appreciate it if you could give me a little hint.

Tried

Log in to CentOS 7 and use the command as a regular user.

$ftp
$ open hoge.hoge
220 FTP Server Ready
Name(hoge.hoge:myuser)

I was asked to enter an FTP account, and then I went to

550 SSL/TLS required on the control channel
Login failed.
Remote system type is UNIX.
Using binary mode to transfer files.

appears and cannot proceed from there.

centos ssl ftp vsftpd

2022-09-30 10:28

1 Answers

There is a possibility that the server is controlling access, but in that case, I feel like it will be played before entering the username.

The ftp command may not support FTP over SSL, so try the lftp command instead.

Install the lftp package with yum for CentOS.

$sudo yum install lftp

To connect with a username (USER) and a destination (SITE), execute the following command:

$lftp-uUSER SITE

In some cases, you may need to edit the lftp configuration file (~/.lftprc).

How to FTP (FTP over SSL) using the lftp command (2018 Apr.8th)

Create a hidden file called .lftprc under your home folder.

$cat to /.lftprc
set ftp — ssl-auth TLS
set ftp —ssl-force true
set ftp —ssl-allow yes
set ftp —ssl-protect-list yes
set ftp —ssl-protect-data yes
set ftp —ssl-protect-fxp yes
set ssl — verify-certificate no

"Also, by the way, FileZilla has an item called ""encryption"" in its connection settings, and you can choose to use ""FTP over SSL"" here (FTP over TLS" in FileZilla)."

Site Manager screen (example):

Enter a description of the image here


2022-09-30 10:28

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.