The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

SFTP Error

Discussion in 'General Discussion' started by JamesKemp, Feb 21, 2016.

Tags:
  1. JamesKemp

    JamesKemp Member

    Joined:
    Feb 21, 2016
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Canada
    cPanel Access Level:
    Root Administrator
    Hi,

    I am using latest version of cPanel with CentOS 7 and for some reason I am unable to connect using SFTP.

    I had changed the SSH port and can easily connect using Putty, but when trying to connect using an SFTP application I am getting the following error (I have tried multiple SFTP applications):

    Can't connect to IP:1114. SFTP21 error = #0. 0

    After changing the SSH port I had run the following command:

    iptables -A INPUT -m state --state NEW -m tcp -p tcp --dport 1114 -j ACCEPT

    Please advise.

    Thank you!
     
  2. syslint

    syslint Well-Known Member

    Joined:
    Oct 9, 2006
    Messages:
    249
    Likes Received:
    6
    Trophy Points:
    18
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Twitter:
    Can't connect to IP:1114. SFTP21 error = #0. 0
    I think your are entering port in the IP/Host field . Please check your sftp client settings.
     
  3. JamesKemp

    JamesKemp Member

    Joined:
    Feb 21, 2016
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Canada
    cPanel Access Level:
    Root Administrator
    I am able to connect to other servers using the same SFTP application.

    Is there something that needs to be configured in order for SFTP to work on latest version of cPanel with CentOS 7 (64bit)?
    It's fresh installation.

    Thank you!
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,786
    Likes Received:
    665
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Check the /var/log/secure log file when the login attempt fails to see if there's any specific output. Also, have you tried accessing SFTP via the command line to rule out any issues with your SFTP client?

    Thank you.
     
  5. JamesKemp

    JamesKemp Member

    Joined:
    Feb 21, 2016
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Canada
    cPanel Access Level:
    Root Administrator
    Hi Michael,

    The secure log is showing the following error every time I try to use SFTP:

    fatal: no matching cipher found: client 3des-cbc,arcfour,cast128-cbc,twofish-cbc,blowfish-cbc,twofish128-cbc,aes128-cbc,aes256-cbc server[removed],aes256-ctr,aes128-ctr [preauth]

    Thank you!
     
    #5 JamesKemp, Feb 23, 2016
    Last edited by a moderator: Feb 24, 2016
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,786
    Likes Received:
    665
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Are you accessing SFTP with a specific client, or via the command line on your workstation? Do you receive the same error message when using different SFTP clients?

    Thank you.
     
  7. JamesKemp

    JamesKemp Member

    Joined:
    Feb 21, 2016
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Canada
    cPanel Access Level:
    Root Administrator
    Hi,

    I am getting the error when using CuteFTP, I tried using WinSCP and it works fine with that.

    Thank you.
     
  8. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,786
    Likes Received:
    665
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    That suggests an issue with your CuteFTP client's SFTP configuration. I suggest utilizing one of their support options to determine if it's possible to workaround their required cipher settings, of if they can provide you with more details on the required ciphers:

    Support

    Thank you.
     
  9. kitchin

    kitchin Member

    Joined:
    Sep 18, 2011
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page