Results 1 to 14 of 14
  1. #1
    Join Date
    Aug 2008
    Posts
    511

    Arrow SFTP is not working no VPS server

    Hi

    i am not able to get connect to SFTP server

    domain : testing.com
    user : test@testing.com
    pass : 123456
    port : 7256

    & getting following error
    #####################
    Status: Connecting to testing.com:7256...
    Response: fzSftp started
    Command: open "test@testing.com@testing.com" 7256
    Command: Trust new Hostkey: Yes
    Command: Pass: ************
    Error: Authentication failed.
    Error: Critical error
    Error: Could not connect to server
    #####################

    note that we are able to get connected to the server with FTP using same username & password

    i asked our data centre regarding this issue & they suggested to use root password , but we don't want to give root password to the client

    so i come here for support please guy's help me what to do now.

  2. #2
    Join Date
    Jun 2003
    Location
    World Wide Web
    Posts
    581
    Try with the user "test" instead of test@testing.com

    Also if you are using key make sure ~/.ssh/authorized_keys exists and set to 700 mode.
    SupportExpertz.com - the name says it all!
    Managed Cloud Servers
    Server Management and Monitoring
    24x7 outsourced customer support

  3. #3
    Join Date
    Aug 2008
    Posts
    511

    Arrow

    we have created FTP account test

    that's why we are using test@testing.com

  4. #4
    Join Date
    Jun 2003
    Location
    World Wide Web
    Posts
    581
    Quote Originally Posted by nileshparmar1 View Post

    & getting following error
    #####################
    Status: Connecting to testing.com:7256...
    Response: fzSftp started
    Command: open "test@testing.com@testing.com" 7256
    Command: Trust new Hostkey: Yes
    Command: Pass: ************
    Error: Authentication failed.
    Error: Critical error
    Error: Could not connect to server
    #####################

    The error clearly states.

    Command: open "test@testing.com@testing.com" 7256
    so try using the user name as test rather than test@testing.com as the ftp client is attaching @testing.com to the username.
    Last edited by supportexpertz; 07-28-2009 at 07:13 AM. Reason: spelling
    SupportExpertz.com - the name says it all!
    Managed Cloud Servers
    Server Management and Monitoring
    24x7 outsourced customer support

  5. #5
    Join Date
    Aug 2008
    Posts
    511

    Arrow

    noticed & found that we are able to get connected to SFTP with original cPanel user & pass but not able to connect using created FTP account which is test@testing.com

  6. #6
    Join Date
    Jun 2003
    Location
    World Wide Web
    Posts
    581
    Please note that secureFTP, use port 22 for data transfer and port 21 for authentication. The FTP user should have shell access for secure FTP to work. I hope this explains.
    SupportExpertz.com - the name says it all!
    Managed Cloud Servers
    Server Management and Monitoring
    24x7 outsourced customer support

  7. #7
    Join Date
    Aug 2008
    Posts
    511
    Quote Originally Posted by logicsupport View Post
    Please note that secureFTP, use port 22 for data transfer and port 21 for authentication. The FTP user should have shell access for secure FTP to work. I hope this explains.
    we have changed default SSH port to 7256 then how could we use 22 port

  8. #8
    Join Date
    Jun 2003
    Location
    World Wide Web
    Posts
    581
    I mentioned port 22, as it is the general port for ssh. The ftp data transfer takes place through the ssh port on the server.
    SupportExpertz.com - the name says it all!
    Managed Cloud Servers
    Server Management and Monitoring
    24x7 outsourced customer support

  9. #9
    Join Date
    Aug 2008
    Posts
    511

    Arrow

    Quote Originally Posted by logicsupport View Post
    I mentioned port 22, as it is the general port for ssh. The ftp data transfer takes place through the ssh port on the server.
    let me clear you that we have changed general SSH port 22

  10. #10
    Join Date
    Jun 2003
    Location
    World Wide Web
    Posts
    581
    The basic necessity for secureFTP to work for an FTP user is that the user requires shell access. ie you should be able to ssh to the server using that ftp user.
    It should work with any of the ssh port.

    In cpanel servers, only the default cpanel user can use SFTP ( Only the default user have the shell access )

    I hope this makes it clear.
    Last edited by supportexpertz; 07-28-2009 at 08:00 AM.
    SupportExpertz.com - the name says it all!
    Managed Cloud Servers
    Server Management and Monitoring
    24x7 outsourced customer support

  11. #11
    Join Date
    Aug 2008
    Posts
    511

    Arrow

    after lot of googling i have found below

    SFTP is only available to the cPanel user.
    FTP sub-users need to use FTP or FTPS.

  12. #12
    Join Date
    Jun 2008
    Location
    India
    Posts
    266
    thats correct nilesh!!
    Ranjith
    Light travels faster thn sound.This is why some people look bright until you actually hear them speak

  13. #13
    Join Date
    Jun 2003
    Location
    World Wide Web
    Posts
    581
    That was what I mentioned along with the reason..
    SupportExpertz.com - the name says it all!
    Managed Cloud Servers
    Server Management and Monitoring
    24x7 outsourced customer support

  14. #14

    SSH File Transfer Protocol == SFTP != xFTP

    SFTP doesn't mean "secure FTP" - it means "SSH File Transfer Protocol" and has zero to do with FTP - nothing. Enter "SSH_File_Transfer_Protocol" into Wikipedia.

    FTP clients often *handle* SFTP, but the two protocols are totally unrelated. The acronyms are similar, that's all. The only "secure FTP" is called FTPS, which means FTP over SSL, very klunky by comparison. SFTP is cool. The only port is the SSH port (default, 22). SFTP has nothing to do with port 21. All SFTP passwords and traffic are encrypted, and you can also use SSH keys for auth instead of passwords.

    Last year, OpenSSH added "internal-sftp" that lets you chroot visitors into private SFTP directories with no fuss. You can do that on VPS, but not shared host, unless your plan offers special permission/help. Usually on a shared host, it is only the site owner who can SFTP to upload web files, and visitors can't. But a VPS can offer SFTP to visitors.
    debian-administration dot org / articles / 590

    Also, you always want to prefer SFTP over SCP, even WinSCP tells you so. SCP is deprecated.

Similar Threads

  1. What is SFTP?????
    By donald_smith in forum Programming Discussion
    Replies: 6
    Last Post: 01-25-2008, 04:58 PM
  2. SFTP?
    By Ophelus in forum Web Hosting
    Replies: 1
    Last Post: 01-23-2008, 03:47 PM
  3. SFTP vs FTP over SSL (TLS)
    By WALoeIII in forum Hosting Security and Technology
    Replies: 5
    Last Post: 11-17-2004, 10:41 PM
  4. Can not SFTP
    By 2webhost in forum Hosting Security and Technology
    Replies: 3
    Last Post: 04-14-2004, 08:32 PM
  5. Sftp
    By MikeM in forum Hosting Security and Technology
    Replies: 3
    Last Post: 12-15-2003, 10:18 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •