QuickBox / QB

QuickBox is much more than a ‘seedbox installer script’, it is a simplistic approach to achieving easy seedbox and services management from a beautifully designed dashboard. Allowing users the ability to interact with their seedbox and server on a professional grade level.
https://quickbox.io
GNU General Public License v3.0
739 stars 171 forks source link

ftp #201

Open sacko1966 opened 3 years ago

sacko1966 commented 3 years ago

After new install of latest quickbox free or community version supporting ubuntu18.04 ftp does not work and no matter how hard i have tried it just will not connect over ftp keep getting error could not connect to server error 530 login incorrect but the login is fine for rutorrent which is the same password

JMSDOnline commented 3 years ago

I'll post an update to this on the installer. This is more than likely due to the signed key and the latest RSA requirements. Please run the following:

openssl req -config /root/.openssl.cnf -x509 -nodes -days 720 -newkey rsa:2048 -keyout /etc/ssl/private/vsftpd.pem -out /etc/ssl/private/vsftpd.pem

Then issue a restart to the vsftp service service vsftpd restart

sacko1966 commented 3 years ago

I dont think it is that as i have tried this and still the same error ftp for super user is fine when adding a new user that is when the error occurs in filezilla but the username and password are fine as it is the same login details for rutorrent

Status: Connecting to 195.154.184.59:21... Status: Connection established, waiting for welcome message... Status: Initializing TLS... Status: Verifying certificate... Status: TLS connection established. Command: USER andy Response: 331 Please specify the password. Command: PASS *** Response: 530 Login incorrect. Error: Critical error: Could not connect to server

You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/QuickBox/QB/issues/201#issuecomment-880101140, or unsubscribe https://github.com/notifications/unsubscribe-auth/AU3EKE5RHNXLV4AIMW7RXGTTXXGYDANCNFSM5AL6FVEA .

JMSDOnline commented 3 years ago

Default port for TLS/SSL (SFTP) is 4747 and for additional created users is standard FTP on port 5757 as listed on the Readme. Are you connecting via those ports? As I see 21 listed in your error message.

sacko1966 commented 3 years ago

Yes i have tried all ports 5757 21 ive disabled ufw i have checked configs everything something lurking in ubuntu 18.04 it just will not connect for some reason but it does for super user i even commented out root in ftp user list to try it but same error

On Wed, 14 Jul 2021, 20:23 Jason Matthews, @.***> wrote:

Default port for TLS/SSL (SFTP) is 4747 and for additional created users is standard FTP on port 5757 as listed on the Readme. Are you connecting via those ports? As I see 21 listed in your error message.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/QuickBox/QB/issues/201#issuecomment-880148566, or unsubscribe https://github.com/notifications/unsubscribe-auth/AU3EKE3K6KNPRQLNFVQTKYLTXXPZNANCNFSM5AL6FVEA .

sacko1966 commented 3 years ago

The problem seems to be with /usr/bin/lshell but this is to advanced for me permissions and user files not found

On Wed, 14 Jul 2021, 20:31 andrew saxton, @.***> wrote:

Yes i have tried all ports 5757 21 ive disabled ufw i have checked configs everything something lurking in ubuntu 18.04 it just will not connect for some reason but it does for super user i even commented out root in ftp user list to try it but same error

On Wed, 14 Jul 2021, 20:23 Jason Matthews, @.***> wrote:

Default port for TLS/SSL (SFTP) is 4747 and for additional created users is standard FTP on port 5757 as listed on the Readme. Are you connecting via those ports? As I see 21 listed in your error message.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/QuickBox/QB/issues/201#issuecomment-880148566, or unsubscribe https://github.com/notifications/unsubscribe-auth/AU3EKE3K6KNPRQLNFVQTKYLTXXPZNANCNFSM5AL6FVEA .

oNeXuSo commented 2 years ago

Seeing this problem has happened a while back, did you ever get to the bottom of this error? - I've recently completed an install on ubuntu 18.04 and I'm getting the same issue with added users. Can access dashboard/rutorrent but ftp is giving exact same 530 login error. I've tried ports 4747 and 5757 by also amending Ishell.conf sftp from 0 to 1 and still no joy. Anyone any suggestions on a solution it will be greatly appreciated! the master user is working fine with no issues.

JMSDOnline commented 2 years ago

Check that lshell is actually compiled with which lshell.

I just went to check and the installer here is attempting to build lshell from apt, however, that apt source is no longer functional/existent. So if this is a recent install, that may be why. Even if it is somehow there, I'd suggest apt -y autoremove lshell and build it from a more current, albeit no longer maintained repo (which still works and gets the job done as it should).

Seen here on the recent edits I just posted to the quickbox-setup build file: https://github.com/QuickBox/QB/commit/bbed587860f12679fe7319445dae4bc5b847b1c3#diff-d3fd950c9a4caebd335d5a73a5670052c18349f27f27d8af9118f156667b9fe2L571-L574