SFTP4TC based on PuTTY

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

Moderators: Hacker, petermad, Stefan2, white

bebbo
Junior Member
Junior Member
Posts: 53
Joined: 2009-06-24, 08:22 UTC

Post by *bebbo »

VERSION 1.4.67.3 [2017-05-01]
* FIXED #14 fix midsession config changes.

http://sourceforge.net/projects/sftp4tc/files/wfx_sftp_1_4_67_3.zip/download

Bebbo
SFTP4TC - sftp based on PuTTY
report tickets at https://sf.net/p/sftp4tc/tickets
ZSTDWCX - zstd packer http://franke.ms/packer/zstd.wiki
yetanotherlogin
Junior Member
Junior Member
Posts: 51
Joined: 2010-03-24, 10:51 UTC

Post by *yetanotherlogin »

Suggestions:
1. Get rid of the Putty dialog, so that the user can connect directly
2. Save the password so the user isn't prompted for it
3. After disconnecting, make it possible to go back to the local drive through eg. "c:"

I have also tried the other SFTP plug-in by "mysefl", and it doesn't support getting back to the local drive either.

Cheers,
bebbo
Junior Member
Junior Member
Posts: 53
Joined: 2009-06-24, 08:22 UTC

Post by *bebbo »

yetanotherlogin wrote:Suggestions:
1. Get rid of the Putty dialog, so that the user can connect directly
2. Save the password so the user isn't prompted for it
3. After disconnecting, make it possible to go back to the local drive through eg. "c:"

I have also tried the other SFTP plug-in by "mysefl", and it doesn't support getting back to the local drive either.

Cheers,
@1: There is no PuTTY dialog, If you select a stored session.
@2: There is a checkbox in the session properties to have the password stored
@3: a plugin has no control over this behaviour.
SFTP4TC - sftp based on PuTTY
report tickets at https://sf.net/p/sftp4tc/tickets
ZSTDWCX - zstd packer http://franke.ms/packer/zstd.wiki
User avatar
blacky
Senior Member
Senior Member
Posts: 315
Joined: 2003-02-07, 16:58 UTC
Location: was das/whot's dath ?

Re: SFTP4TC based on PuTTY

Post by *blacky »

Hi,

Bebbo, it is maybe possible on sftp-plugin to add an own login/logwindow
(textfild in 640x480 and changeable (80x50 and so on, scalable per mouse and possible ttf changing),
this would be pretty well, because sometimes have the login a banner in front by
professional ssh login as warning, orientation or something, also in the sshd in all Linuxsshd
it is a possible to set up a banner with Ascii Pictures and so on, which it is able to see information
infront of the login, in one hand as colored banner or not coloured banner just as Information give which ssh it is or other else ,
also to see directly the log in an own window as tracer (it is maybe a wrong wort for fellow the things what's happens)
and under this Textlog, maybe a cmdline which makes possible to put in commands directly.

best regards
Blacky

btw: http://www.dos.blackysgate.de/
Meine Blackysgate.de/net
Ma' Personal licence : already one. Hab auch eine
Mein Computer : Einer/once ??? bahh, Rz/Data Centre !
Kitchen, Liv.room, TV, Schlafz.. Sch...
BS/OS: Win3.1/7, Fedora a. other, Reactos
bebbo
Junior Member
Junior Member
Posts: 53
Joined: 2009-06-24, 08:22 UTC

Re: SFTP4TC based on PuTTY

Post by *bebbo »

Sorry, I won't add a login windows.

And you can enter valid sftp commands, like
cd /home/bebbo
cd ..

kind regards
Bebbo
SFTP4TC - sftp based on PuTTY
report tickets at https://sf.net/p/sftp4tc/tickets
ZSTDWCX - zstd packer http://franke.ms/packer/zstd.wiki
xpk
Junior Member
Junior Member
Posts: 4
Joined: 2015-08-28, 06:55 UTC

Re: SFTP4TC based on PuTTY

Post by *xpk »

This plugin has likely inherited security vulnerabilities from PuTTY
https://www.chiark.greenend.org.uk/~sgtatham/putty/releases/0.70.html
https://thehackernews.com/2019/03/putty-software-hacking.html
and therefore is a security risk.
mikedepetris
Junior Member
Junior Member
Posts: 91
Joined: 2006-11-07, 16:36 UTC
Location: Trieste, Italy
Contact:

Re: SFTP4TC based on PuTTY

Post by *mikedepetris »

How is this spam coming in?
barsmonstesr
Junior Member
Junior Member
Posts: 3
Joined: 2024-04-27, 23:01 UTC

Re: SFTP4TC based on PuTTY

Post by *barsmonstesr »

I really like SFTP4TC, unfortunately it looks like it does not work with modern private keys.
I tried to rebuild SFTP4TC with modern Putty, but it looks like putty is significantly modified.
So it's much more involved than just updating Putty and fixing compatibility differences. So no new version yet.
hung24
New Member
New Member
Posts: 1
Joined: 2024-11-06, 12:09 UTC

Re: SFTP4TC based on PuTTY

Post by *hung24 »

Hi,

One option to overcome that SFTP4TC is legacy and not maintained, is to use it with a recent version of PuTTY. Here the guide:

- You use the last version of PuTTY to stablish the connection to the server. Inside it before connecting you enable the option "Connection/SSH/Share SSH connection if possible", and set Upstream and Downstream enabled.
- After stablishing the connection inside SFTP4TC connect to the same session (identical target name)... enabling the "Sharing mode" inside the same page.
- Then the SFTP4TC will use the same secure connection already stablished.

The only problem is that the current release of SFTP4TC has this part of the configuration diabled. Inside the code of "PuttyLib/putty/config.c" file you will see this code commented out:

Code: Select all

//#ifndef __SFTP4TC__
	if (!midsession) {
	    s = ctrl_getset(b, "Connection/SSH", "sharing", "Sharing an SSH connection between PuTTY tools");

	    ctrl_checkbox(s, "Share SSH connections if possible", 's',
			  HELPCTX(ssh_share),
			  conf_checkbox_handler,
			  I(CONF_ssh_connection_sharing));

            ctrl_text(s, "Permitted roles in a shared connection:",
                      HELPCTX(ssh_share));
	    ctrl_checkbox(s, "Upstream (connecting to the real server)", 'u',
			  HELPCTX(ssh_share),
			  conf_checkbox_handler,
			  I(CONF_ssh_connection_sharing_upstream));
	    ctrl_checkbox(s, "Downstream (connecting to the upstream PuTTY)", 'd',
			  HELPCTX(ssh_share),
			  conf_checkbox_handler,
			  I(CONF_ssh_connection_sharing_downstream));
	}
//#endif
You only need to remove the #ifndef and recompile the solution. Because the connection sharing is compatible with recent versions. So voilà!
Post Reply