MakeTechEasier
  • Home
  •  
  • About
  •  
  • Archives
  •  
  • Jobs
  •  
  • Advertise
  •  
  • Contact Us
  • Windows
  • Linux
  • Mac
  • Internet
  • WordPress
  • iPhone
  • Android
  • All Categories
    • Android RSS
    • Firefox RSS
    • Gaming RSS
    • Google RSS
    • google chrome RSS
    • Internet RSS
    • iPhone/iPod Touch RSS
    • Linux RSS
    • Mac RSS
    • Mobile RSS
    • OpenOffice RSS
    • PC Hardware RSS
    • Review RSS
    • Roundup RSS
    • Windows RSS
    • Windows Mobile RSS
    • WordPress RSS
    • WordPress Plugins RSS
  • rss icon
  • email icon
  • facebook icon
  • twitter icon

How To Connect To Your WordPress Account Via Secure FTP

Posted by: Damien on March 9th, 2009
  • 17 Comments
  • Share

secure-areaIf you own a self-hosted WordPress account, chances are you are using FTP to transfer all your files online. Here’s the problem: connecting and transferring files via FTP is not secured. All your login credential (including username and password) and data are transmitted over the network in plain text. Any hacker who is sniffing your network can easily obtain your password and gain access to your account.

If you are really concerned about the security of your site, this is something that you really need to avoid.

In place of FTP, you can use SFTP (SSH File Transfer Protocol) to create a secure network connection instead. When you are connected via SFTP, all your data are encrypted. Even if they are intercepted, they will only show up as garbage text on the hacker’s computer.

This tutorial teaches you how to connect to your WordPress account (or any other Web server) via a SFTP connection.

A point to note: Not all web host supports SFTP. Do check with your Web host before carrying out the steps below. If your web host does not support SFTP, maybe it’s time to consider another web host that does. Hostgator does the hosting for MTE and they support SFTP.

While there are many FTP clients that support SFTP, the one that I find it the easiest to use and is available for all platforms is Filezilla.

Download and install Filezilla client for your platform. (skip this step if you are already using Filezilla)

Open up Filezilla. Click on the first icon on the Toolbar to access the Site Manager. Alternatively, you can find the Site Manager at the menubar File->Site Manager.

filezilla site manager icon

Click the New Site button on the left bottom pane to create a new account.

On the right pane, enter your host name (this is usually the IP address assigned to you by your Web host). In the Port input field, enter 22 (Different web hosts have different ports for their SFTP connection, Hostgator uses port 2222. If you can’t connect with port 22, you may want to ask your web host for the port number).

Filezilla site manager

Under the Servertype dropdown field, select SFTP – SSH File Transfer Protocol.

Enter your login username and password. Click Connect at the bottom to connect to your account. If everything is fine, you should see a popup window prompting you to accept the server’s public key. Click Ok to continue (You may want to save the key in your cache so that it won’t prompt you all the time). You should be connected to your account via SFTP now.

SFTP connection

Bringing it a step further

If you are really paranoid about your security, you can use a public/private key authentication to connect to your SFTP network instead. A public/private key authentication allows you to login to your account without any password and also eliminates any chance of a brute force SSH attack.

Once again, not all web hosts allow you to generate public/private key certificate. The following example is based on Hostgator cPanel.

Log into your cPanel. Scroll down until you see the SSH/Shell Access icon.

hostgator SSH access

Click on the Manage SSH keys button.

Hostgator Manage SSH key

Click on the Generate a new key link.

generate new ssh key

Enter your key name and give it a password. Make sure that your password is a strong one. Click on the Generate key button.

generate ssh key

You should now see information about your public key.

Back to the main screen, you should see that your public key is listed as not authorized. Click on the Manage Authorization link to toggle it.

ssh-public-key

Back to the SSH key management screen, download the private key to a secure folder in your computer.

In your Filezilla, go to Edit->Settings. On the left, click SFTP. On the right, click the Add KeyFile button. Navigate to where you store your private key and select it.

add-private-key

Once you have added the private key, click Ok to close the window.

Back to the Site manager screen, remove the password that you have saved previously. Click the Connect button. Filezilla will now authenticate the session with your private key and allow you to login to your account without any password.

That’s it.

Image credit: beefranck


Damien Oh is the owner and chief editor of Make Tech Easier

Tags: Filezilla, FTP, Internet, Secure FTP, security, SFTP, WordPress
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

Share and Enjoy!

  • Rss feed
  • StumbleUpon It!
  • Del.icio.us
  • reddit

Related Posts

  • How To Easily Reset Your WordPress Password via phpMyAdmin
  • How To recover Google account Password Via SMS Message
  • Sync Your Passwords Across Different Browsers With LastPass
  • How-To Guide to Twitter Lists
  • How to Manage Multiple Google Analytics Accounts from Desktop

Popular Posts

  • Turn Your Ubuntu Hardy to Mac OSX Leopard 498 comment(s)
  • Turn Your Ubuntu Intrepid Into Mac OSX Leopard 311 comment(s)
  • 28 Coolest Firefox About:Config Tricks 122 comment(s)
  • How To Boot And Install Windows 7 From USB Flash Drive 122 comment(s)
  • Best 101 Free Computer Software For Your Daily Use 101 comment(s)

Enjoyed the article? Subscribe to Make Tech Easier today to get your daily updates of technology tutorials, tips and tricks.

Enter your email:

10 pingbacks/trackbacks (Click to open)

  • 18 Useful Plugins & Hacks To Protect Your WordPress Blog | MakeUseOf.com
  • Ink and Virtue » 18 Useful Plugins & Hacks To Protect Your WordPress Blog
  • 18???? WordPress ??????? : ???????…
  • 15 Dicas para Proteger o seu WordPress | pBlog
  • 18 th? thu?t và plugin giúp b?n b?o m?t khi s? d?ng Wordpress | Vn Newbies
  • How To Easily Reset Your WordPress Password via phpMyAdmin - Make Tech Easier
  • Fresh Released
  • ClarkeShaw’s Blog » ????????????
  • 15 Dicas para Proteger o seu WordPress | Ajuda Wordpress em Português
  • 18???? WordPress ???????-????-???? » By admin » ?? » sin32
[Click to close]

17 Responses

  • Ashwin says:
    March 10, 2009 at 7:24 am

    A very nice tip. I have been thinking about this for quite some time. I am sharing this post on my twitter and subscribing to your blog :D

    Reply
  • T.J. Mininday says:
    March 12, 2009 at 3:45 am

    Wow, this is a huge tutorial, and I like it. Isn’t Hostgator great too? It’s by far the best host I’ve ever had. I’ve had 99.999999% uptime. The first host to come through with that kind of promise.

    Reply
    • Damien says:
      March 12, 2009 at 4:08 am

      Thanks Mininday.

      I have no complaint about Hostgator as it has the best uptime record compared to all my previous web host.

      Reply
  • Moses Arthesi says:
    March 12, 2009 at 5:06 am

    For Windows user, WinSCP (winscp.net) can be a nice alternative to Filezila.

    Reply
  • prija cash says:
    April 21, 2009 at 6:29 am

    Thanks so much.

    I’m stilling having a problem with the SSH. When I edit settings and add keyfile (private key)

    It prompts convert and enter a PW.
    The PW I previous saved does not work.

    Any suggestions?

    Reply
    • Damien says:
      April 28, 2009 at 6:46 am

      Yes. Filezilla will prompt you to convert the PW to a format that it uses. You just go ahead and convert and save as a new PW file. This will be used as the authentication to create the secure session.

      Reply
  • Keith Davis says:
    November 5, 2009 at 2:02 pm

    Fantastic… well explained and with clear screenshots.
    I use Filezilla so I was particularly interested that you recommend it.
    With all the worpress security problems, I shall be using SFTP from now on.

    Reply
Cancel reply

Leave a Comment




Comment

Please Note: Comments maybe under moderation after you submit your comments so there is no need to resubmit your comment again

write for MTE

Latest Posts

  • OfficeMedium – A Social Collaboration Platform For The Small Business + Free Promotions
  • MakeTechEasier Is Now Hosted On KnownHost
  • KTorrent: KDE’s BitTorrent client
  • How to Create a Customized Toolbar for Your Browser
  • 13 Ways To Customize Ubuntu Netbook Remix For Better Usability

Our Writers

  • Damien Oh - Chief Editor
  • Sharninder - Geeky Ninja
  • Joshua Price
  • Tavis J. Hampton - Lantern Torch
  • Shevonne Polastre - FreeAgentWriter
  • Trevor Dobrygoski
  • Soumen Halder - Ampercent
  • Tanmay Ahmed - Tech-Tips-Geek
Make Tech Easier on Facebook
Jobs by SimplyHired
Job Widgets

Copyright

All the articles (including the text, images and tutorials) are properties of MakeTechEasier.

You cannot copy whole tutorials, either in English or translate to another language without our permission.

Write for us

Writing a tutorial or article for MakeTechEasier is a great way to get exposure and give back to the community.

Read More Details

Suggestions

We need your help to help us serve you better! This is YOUR site, so if you have suggestions/feedbacks on how we can improve it for you, please let us know! We do our best to make this place better!

Make a Suggestion

Navigation

  • Home
  • About Us
  • Advertise
  • Archives
  • Contact Us

Copyright © 2007-2010 Make Tech Easier | All Right Reserved.