Solved

I cannot connect to SFTP server, CentOS

Posted on 2011-02-25
6
1,364 Views
Last Modified: 2012-05-11
I have my own SFTP server installed on Centos.
I could connect via Putty and filezilla  through port 22.
But I cannot connect to the server via Filezilla since yesterday.
Strange thing is I can connect to it via Putty.

I restart sshd and the server but still cannot.
Any suggestions?
Thank you in advance.



0
Comment
Question by:Ken_Kim
  • 4
6 Comments
 

Author Comment

by:Ken_Kim
ID: 34985416
Error message in FIlezilla is below.

Error:      Fatal: unable to initialise SFTP on server: could not connect
Error:      Could not connect to server
0
 

Author Comment

by:Ken_Kim
ID: 34985421
No problem with Putty and FTP. With root and any other account.
0
 
LVL 1

Expert Comment

by:praveen_expert
ID: 34986874
Try to connect using passive mode in filezilla
0
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 

Author Comment

by:Ken_Kim
ID: 34990183
Still not working, same error message. Even I reinstalled openssl.
0
 
LVL 6

Accepted Solution

by:
mohansahu earned 500 total points
ID: 34995798
Hi,

Set up your SFTP client.
If you are using Filezilla:

a. Open the program.
b. Click on Edit.
c. Click on Settings.
d. Open Connection tree.
e. Click on SFTP settings.
f. Leave Use Compression as default.
g. Choose to Use SSH2 (a more secure SSH connection).
h. Click OK.

i. Click on File.
j. Click on File Manager.
k. Click on New Site.
l. Enter your server SSH IP address in Host.
m. Choose SSH2 for ServerType - the port number should be 22.
n. Change the port number if you have a custom one for SSH.
o. Choose Normal for LogonType.
p. Enter your SSH username and password.
q. Click on Save and Exit.

Done! Try connecting to your server now via SSH2 using your SFTP client by clicking on the connect icon on the toolbar (most left). It should work. If it doesn't, check your Host SSH IP address again, Port number, Username and Password. Remember, it's the same settings as your SSH client (e.g. PUTTY).

Cheers,
MS
0
 

Author Closing Comment

by:Ken_Kim
ID: 36134841
no
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question