Why cannot connect to linux machine using FileZilla (sftp mode)?

I was trying to connect to a newly installed Ubuntu Linux version 12.04 using FileZilla but the application kept on timing out. This can happen either in either of the below two protocols:

FTP or SFTP.

For the connection issue with FTP please refer to this blog.

Here we will discuss the connection with sftp protocol using FileZilla.

First check if you are using a right port.

sftp runs on top of ssh and uses port 22. So in FileZilla use port 22 for the sftp connection. In the file menu got to the Site Manager and check the port as below:

sftp-port.png

Next set the protocol to SFTP.

Set the Logon Type to Normal.

Type in the User Name and the Password.

Now, try and see if it succeeds.

If it still fails then we need to check the linux server side.

For SFTP connection we need the ssh service running on the linux machine.

Check if the ssh service is installed and running on the linux server refer to this blog.

Now try the same from FileZilla again, and should be able to connect the linux server.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s