Results 1 to 14 of 14
-
07-28-2009, 04:47 AM #1Web Hosting Evangelist
- Join Date
- Aug 2008
- Posts
- 511
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.
-
07-28-2009, 06:54 AM #2Web Hosting Master
- 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
-
07-28-2009, 06:59 AM #3Web Hosting Evangelist
- Join Date
- Aug 2008
- Posts
- 511
we have created FTP account test
that's why we are using test@testing.com
-
07-28-2009, 07:11 AM #4Web Hosting Master
- Join Date
- Jun 2003
- Location
- World Wide Web
- Posts
- 581
The error clearly states.
Command: open "test@testing.com@testing.com" 7256Last 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
-
07-28-2009, 07:17 AM #5Web Hosting Evangelist
- Join Date
- Aug 2008
- Posts
- 511
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
-
07-28-2009, 07:25 AM #6Web Hosting Master
- 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
-
07-28-2009, 07:29 AM #7Web Hosting Evangelist
- Join Date
- Aug 2008
- Posts
- 511
-
07-28-2009, 07:36 AM #8Web Hosting Master
- 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
-
07-28-2009, 07:47 AM #9Web Hosting Evangelist
- Join Date
- Aug 2008
- Posts
- 511
-
07-28-2009, 07:51 AM #10Web Hosting Master
- 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
-
07-28-2009, 08:27 AM #11Web Hosting Evangelist
- Join Date
- Aug 2008
- Posts
- 511
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.
-
07-28-2009, 01:10 PM #12Web Hosting Guru
- 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
-
07-28-2009, 01:47 PM #13Web Hosting Master
- 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
-
07-28-2009, 09:00 PM #14Newbie
- Join Date
- Jul 2009
- Posts
- 13
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
-
What is SFTP?????
By donald_smith in forum Programming DiscussionReplies: 6Last Post: 01-25-2008, 04:58 PM -
SFTP?
By Ophelus in forum Web HostingReplies: 1Last Post: 01-23-2008, 03:47 PM -
SFTP vs FTP over SSL (TLS)
By WALoeIII in forum Hosting Security and TechnologyReplies: 5Last Post: 11-17-2004, 10:41 PM -
Can not SFTP
By 2webhost in forum Hosting Security and TechnologyReplies: 3Last Post: 04-14-2004, 08:32 PM -
Sftp
By MikeM in forum Hosting Security and TechnologyReplies: 3Last Post: 12-15-2003, 10:18 AM