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.

SOLVED SFTP Connection Failing

Discussion in 'General Discussion' started by DrTim, Apr 21, 2017.

Tags:
  1. DrTim

    DrTim Registered

    Joined:
    Apr 21, 2017
    Messages:
    3
    Likes Received:
    2
    Trophy Points:
    3
    Location:
    Lancaster
    cPanel Access Level:
    Root Administrator
    Hi guys, I need some help with this. We were happily using SFTP on our SSH connection to connect to the server with the latest version of WinSCP but it is now broken with this cPanel version. Any ideas what I need to change to fix this?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,064
    Likes Received:
    1,287
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Could you let us know the specific error message you receive in your SFTP client when the connection attempt fails? Also, do you notice any output in the /var/log/secure log file when it fails?

    Thank you.
     
  3. DrTim

    DrTim Registered

    Joined:
    Apr 21, 2017
    Messages:
    3
    Likes Received:
    2
    Trophy Points:
    3
    Location:
    Lancaster
    cPanel Access Level:
    Root Administrator
    All I get in WinSCP is a popup box that says
    "The server rejected SFTP connection, but it listens for FTP connections.

    Did you want to use FTP protocol instead of SFTP? Prefer using encryption."

    Nothing is showing in the secure log file
     
  4. DrTim

    DrTim Registered

    Joined:
    Apr 21, 2017
    Messages:
    3
    Likes Received:
    2
    Trophy Points:
    3
    Location:
    Lancaster
    cPanel Access Level:
    Root Administrator
    Aha, I have fixed it! Some numpty has changed a setting on our firewall and not told anyone! Sorry to have used up your time on this. I will now go numpty hunting!!!!
     
    cPanelMichael and Infopro like this.
Loading...

Share This Page