Switch from FTP to SFTP publish

Issues related to previewing and publishing your web site.
Post Reply
User avatar
Islander
 
 
Posts: 53
Joined: Tue Jan 12, 2010 4:03 pm
Location: Mauritius
Contact:

Switch from FTP to SFTP publish

Post by Islander »

I've been using FTP to publish but I considering to use SFTP SSH2 as its known as more secure. I'm looking for some basic explanation on this.

On selecting SFTP all settings stay the same except the port setting switches to 22. But publishing now gives me this error messageImage

Is there anything else to add to publish settings or should the change be made on the server side?
User avatar
Pablo
 
Posts: 22503
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Switch from FTP to SFTP publish

Post by Pablo »

Can you connect to the server with same settings using another tool (like FileZilla)?
Did you make sure the connection is not blocked by your firewall?
User avatar
Islander
 
 
Posts: 53
Joined: Tue Jan 12, 2010 4:03 pm
Location: Mauritius
Contact:

Re: Switch from FTP to SFTP publish

Post by Islander »

I use Fireftp extension in Waterfox which is very easy and allows viewing the html page live in the browser. In Fireftp, the moment I select SFTP it asks fo a private key which I'm not sure where to get it from(the server uses Direct admin and allow the creation of a public key in SSH section, I "guess" it's there that the key is generated). There's no instructions on using SFTP both in the Direct Admin help section and on the internet/youtube and this is frustrating.

In WWB publish settings I don't find any place that asks for a key private or public.

The firewall is not blocking the ftp connection as I can easily publish WWB using normal FTP.
I can continue to use the normal FTP connection but if SFTP is available which is more secure, then I'm trying to use it.
User avatar
Pablo
 
Posts: 22503
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Switch from FTP to SFTP publish

Post by Pablo »

I did try it myself and could not connect either.
Are you sure the SFTP protocol is supported by this server?

FTP with TLS/SLL on port 21 seems to work...
User avatar
Islander
 
 
Posts: 53
Joined: Tue Jan 12, 2010 4:03 pm
Location: Mauritius
Contact:

Re: Switch from FTP to SFTP publish

Post by Islander »

I'm contacting them to know about this. Thanks Pablo.
User avatar
BaconFries
 
 
Posts: 5653
Joined: Thu Aug 16, 2007 7:32 pm

Re: Switch from FTP to SFTP publish

Post by BaconFries »

From reading that you are using fireftp perhaps the following may be of help (or not). Although it talks about Firefox and links to Waterfox as a alternative it does explain the use of a "Private Key" ,where to find and how to use.
http://fireftp.net/help.html (Read from Account Manager->Private Key)
Post Reply