SSL problem

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
vetalok
Junior Member
Junior Member
Posts: 6
Joined: 2007-12-04, 08:46 UTC

SSL problem

Post by *vetalok »

Hi all
I have TC 7.02а, I'm trying to connect to server via SSL.
I have added openssl dlls from gnuwin32, openssl package
But there is no actions after I have pushed "connect" button:
TC says: Connecting...
It thinking very much time....
After I pressed Esc button the following ftp command has appeared:
QUIT
Client: Windows Vista Business
Server: Linux Fedora 7 x86_64, kernel 2.6.22.9-91.fc7
What is wrong?
Why it hangs?
Any ideas?
Maybe dlls is worng?
vetalok
Junior Member
Junior Member
Posts: 6
Joined: 2007-12-04, 08:46 UTC

Post by *vetalok »

Openssl dlls I have downloaded from openssl official site.
Is there someone who has succesfully connected to linux server via sftp (TC 7.0 or higher)?
On WinXP it doen not work too.
shocquer
Junior Member
Junior Member
Posts: 16
Joined: 2004-03-19, 12:07 UTC

Post by *shocquer »

well you didn't say much, but sftp uses ssh not ssl :-)
if you try to use the new feature of tc 7.x ftp over ssl (using openssl libraries), than yes it works great here. the question is, what do you really want. do you connect to port 21, 22 or 990? well maybe you have a custom port - i didn't tried that.
i use my ftp server with port 21 using auth tls and it work well.
vetalok
Junior Member
Junior Member
Posts: 6
Joined: 2007-12-04, 08:46 UTC

Post by *vetalok »

Hi shocquer, thanks for reply.
Yes, I'm using the new feature of tc 7.x ftp over ssl
I'm using port number 22. This is what I seeing in "Connection" window
----------
Connect to: (05.12.2007 10:43:43)
hostname=192.168.0.250:22
username=vetalok
startdir=
SSH-2.0-OpenSSH_4.5

This process takes 5 minutes. 5 minutes later the following message has appeared in "Connection" window:
----------
Connect to: (05.12.2007 10:43:43)
hostname=192.168.0.250:22
username=vetalok
startdir=
SSH-2.0-OpenSSH_4.5
OFFLINE

and the folowing message box has appeared:
---------------------------------------
ftp
Server does not respond. Connection time out.
---------------------------------------
But the server is alive, WinSCP works.
The dlls are fresh, that is why I have no idea why TC can not connect to the server.

Maybe I should replace
ftps...
with
sftp...
?
But TC do not allow me to do it :)
vetalok
Junior Member
Junior Member
Posts: 6
Joined: 2007-12-04, 08:46 UTC

Post by *vetalok »

Done :). It works!
First of all I must notice that SFTP(ssh) and FTPS(ssl) are not the same :)
So I recommend to all who will meet the same problem do the folowing steps:
=================================================
Install new TC (7.0.2a).
Download developer.berlios.de/projects/sftp4tc/
Install downloaded (wfx_sftp_1_2_57_2_setup.exe)
Add the plugin (see how to below)
NEED TO USE ONLY WINDOWS EXPLORERE, NOT TC DURING THESE STEPS!!!
Network->Secure FTP Connections->New connection.
It must work :)
=================================================
Plugin installation
(from someware in forum)
The 'Network Neighborhood' referenced is in TC, not Windows. That's where many of us were confused. (Me, too.) :)

In TC, look for a backslash icon, next to all of your mapped drives, directly above the file area. It has 2 little computers connected together as a graphic, and instead of a drive letter, has a backslash: \.

Click this icon. This takes you to the network neighborhood.

===================================

So, from the top:
1) Download wfx_sftp_1_2_58_1_setup.exe
2) Run it.
2.5) setup_tc_group_desc
(.) for current user
3) From TC, select: Configuration --> Options --> Plugins --> [ Configure ] File System Plug-ins (WFX)
4) Confirm that you see "Secure FTP Connections" in the list.
4.5) If not, choose [ Add ], find plugin_sftp.wfx on your system, and add it.
4.75) There may be more to it than this. I don't know, as I personally didn't have to do it. The setup.exe did it for me.
5) Get out of the configuration screens: [ OK ] --> [ OK ]
6) Find the Network Neighborhood icon in the TC interface. This icon looks like 2 computers connected together, next to a \. This icon should be the last icon in the list of available drives. It should also be available from the drive drop-down box above the file display area.
7) Open the \ drive. (The Network Neighborhood).
8) Open the "Secure FTP Connections" directory.

9A) Select "Quick Connection" to create a new connection to the URL that supports secure FTP that you're trying to get to.
9.1) Provide the URL to connect to. e.g. An IP address, or some alias to an IP address.
9.2) Log in as user / password, etc. Just follow the prompts.

OR

9B) Create a connection to a place you will visit often:
9.1) Select "Edit Connections"
9.2) [ New ] --> title: Linux --> host: <IP address> --> supply username, password, and homedir --> [ OK ]
9.3) Find your new connection in the list, and double-click it to open it.
9.4) Wait a few seconds. It might not seem instantaneous.

DONE!

You should now have a secure FTP connection in TC.


Finally, thank the authors! We (your loyal users) really appreciate the work you have done!
Post Reply