Solved

I cannot connect to SFTP server, CentOS

Posted on 2011-02-25
6
1,350 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
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 

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

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
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…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

770 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