Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 7 of 7
  1. #1
    Member
    Join Date
    Oct 2006
    Posts
    168

    Default SFTP instead of FTP?

    Is there a way to disable normal FTP and run SFTP on a CentOS server? By the way, what is SCP? Noticed this inside the WinSCP client as an option. Reason for wanting to switch over is that there are just too many FTP hack attempts. Will going to SFTP be better?

  2. #2
    Member
    Join Date
    Oct 2006
    Posts
    168

    Default

    ok, just learned something new! Figured out in WinSCP that I can SFTP in to our server if I change the port to our SSH port but use the normal FTP ID + PW. Does this mean using this method to uploading files is a secure method now?

    If so, can we disable FTP entirely for peace of mind that none of those FTP hack attempts will get through? If so, how do we disable FTP inside WHM?

  3. #3
    Member
    Join Date
    May 2007
    Posts
    78

    Default

    I ditched ftp a few months ago for the same reasons.
    I exclusively use WinSCP now, and I shut ftp off completely in WHM.

    As you connect on the SSH port, ftp is now obsolete and it won't affect WinsCP at all, by getting rid of it.

    Disable ftp on WHM:
    Service Manager -> uncheck both boxes for ftpd -> Save
    Last edited by bls24; 06-15-2008 at 03:11 AM.

  4. #4
    Member
    Join Date
    Oct 2006
    Posts
    168

    Default

    If you use WinSCP and connect directly to the SSH port, you would use the account ID + PW correct (instead of root)? This way, the files you upload will still be owned by the right user and not by root. Is that correct?

  5. #5
    Member
    Join Date
    Oct 2006
    Posts
    168

    Default

    Noitced that if we use WinSCP to SFTP in, we can connect from multiple terminals. But using SmartFTP, we can only connect 1 session at a time. Is there a way to set things up so we can use SmartFTP to SFTP in from multiple machines at the same time?

  6. #6
    Member
    Join Date
    Feb 2007
    Location
    Central California, USA
    Posts
    5

    Question WinSCP problems since July

    I wonder if this is related to the WinSCP problems I've just recently started having ...

    Initially, I was receiving "Unexpected directory listing in line 'drwxr-x--- 6 nobody 4096 Sep xx xx:xx.'." error any time I tried to log on to one of my accounts. My host suggested I change the public_html permissions from 750 to 755 but that had no effect on WinSCP's operation. Now my error listing is "Unexpected directory listing in line 'drwxr-xr-x 6 nobody 4096 Sep xx xx:xx.'."

    If I change the connection type to SFTP, I can log in, but file transfers, deletions and just about anything else I try to do fails.

    This problem started in July and my host has been unable to find a fix. I really like WinSCP - What kind of data do I need to provide for my host to be able to diagnose the problem?

    Thank you!

  7. #7
    Member
    Join Date
    Dec 2001
    Posts
    746

    Default

    Please have your host check that public_html is owned by user:nobody.


    A note: If you can ditch FTP, do it. SCP or SFTP are much more secure methods of connecting to the server.

Similar Threads & Tags
Similar threads

  1. Can't Connect Using FTP Account (SFTP)
    By pilaftank in forum cPanel and WHM Discussions
    Replies: 8
    Last Post: 05-08-2011, 04:14 AM
  2. sftp for ftp accounts?
    By dev.null in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 04-23-2011, 06:00 PM
  3. Remote FTP via SFTP in WHM
    By daengo in forum Data Protection
    Replies: 1
    Last Post: 05-29-2008, 05:08 PM
  4. FTP vs SFTP
    By BraveX in forum New User Questions
    Replies: 3
    Last Post: 05-24-2007, 11:02 AM
  5. Using SFTP for all FTP accounts?
    By jez9999 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 04-06-2007, 04:24 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube