Skip to main content

PureFTP Hanging

Comments

5 comments

  • cPRex Jurassic Moderator
    Hey there! When you say a "direct" FTP connection, do you mean over the command line? As in, you aren't using an FTP client? If so, I would expect it to present the "name" field for you to start the login process, like this: # ftp domain.com Connected to domain.com (1.2.3.4). 220---------- Welcome to Pure-FTPd [privsep] [TLS] ---------- 220-You are user number 1 of 50 allowed. 220-Local time is now 12:51. Server port: 21. 220-This is a private system - No anonymous login 220-IPv6 connections are also welcome on this server. 220 You will be disconnected after 15 minutes of inactivity. Name (domain.com:root):
    If that isn't happening, you'd want to check /var/log/secure or /var/log/messages on the system to see if there are any errors related to the FTP service.
    0
  • adenby
    Hey there! When you say a "direct" FTP connection, do you mean over the command line? As in, you aren't using an FTP client? If so, I would expect it to present the "name" field for you to start the login process, like this: # ftp domain.com Connected to domain.com (1.2.3.4). 220---------- Welcome to Pure-FTPd [privsep] [TLS] ---------- 220-You are user number 1 of 50 allowed. 220-Local time is now 12:51. Server port: 21. 220-This is a private system - No anonymous login 220-IPv6 connections are also welcome on this server. 220 You will be disconnected after 15 minutes of inactivity. Name (domain.com:root):
    If that isn't happening, you'd want to check /var/log/secure or /var/log/messages on the system to see if there are any errors related to the FTP service.

    Yes, I did mean command line. I've attempted to get in through scp, sftp, and ssh commands with the same result. And it appears there is no data in any log files.
    0
  • cPRex Jurassic Moderator
    Can you let me know the specific FTP and SSH connection commands you're using, except for any public info like the domain or IP address?
    0
  • adenby
    Okay, I'm mainly adding a parameter to use the port set by cPanel (921), plus the verbose parameter to give me that feedback message. That would be ssh -v -P 921, sftp -v -p 921.
    0
  • cPRex Jurassic Moderator
    That's odd, and I'm honestly not sure - if you get the welcome banner, you should also get the rest of the prompts from the service working. Since you're using a secure connection, /var/log/secure would also be a good place to examine log data to see if there's anything interesting there. Just as a test, does the FTP connection work normally if you run it locally? You can just run "ftp localhost" from the server's command line to see if that behaves differently. If that works, that points to some type of network slowness or other external factors. If not, it might be time to open a ticket with your host, as cPanel doesn't control the SSH service or the connections on the system (as you're making a secure connection with FTP, it's really also an SSH connection, more or less).
    0

Please sign in to leave a comment.