Topic "5.2 beta calls putty incorrectly"

Author Message
german guest

Guest


Hello,

I'm running a dedicated firewall system (ipfire) that uses non-default port 222 for it's own SSH in order to connect to external SSH servers by default port 22.

Now with WinSCP 5.2 beta the normal session works fine, only if I try "Open in PuTTY" command, the connection will be refused. PuTTY event log shows, that the port propagated is 22 rather then real session port 222 (found in PuTTY event log).

With WinSCP 5.1.4 there is no problem.

Would be nice, if this will be fixed in final 5.2

Best regards,
Johannes
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
Thanks for your post.

This bug has been added to the tracker:
http://winscp.net/tracker/show_bug.cgi?id=1002
rowsdower

Guest


This is marked as fixed in bugtracker, but it is not fixed - KiTTY only tries using port 22.
If there is not a way to pass the port automatically to KiTTY, perhaps there should be a pattern added for port (such as !p), so you could specify:

path/to/kitty.exe !U@!@:!p

However I have tried these with no success (example port 2222):
path/to/kitty.exe !U@!@:2222
path/to/kitty.exe -P 2222 !U@!@

Both of these result in an error.
KiTTY users with non-standard ports will just have to use PuTTY until this is resolved (the port is passed properly to PuTTY).
rowsdower

Guest


rowsdower wrote:
This is marked as fixed in bugtracker, but it is not fixed - KiTTY only tries using port 22.
If there is not a way to pass the port automatically to KiTTY, perhaps there should be a pattern added for port (such as !p), so you could specify:

path/to/kitty.exe !U@!@:!p

However I have tried these with no success (example port 2222):
path/to/kitty.exe !U@!@:2222
path/to/kitty.exe -P 2222 !U@!@

Both of these result in an error.
KiTTY users with non-standard ports will just have to use PuTTY until this is resolved (the port is passed properly to PuTTY).


I am using WinSCP 5.2.2 beta by the way.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
First, it works 100% if you allow WinSCP to interchange session settings with KiTTY using registry.

If you use portable KiTTY, then yes, WinSCP cannot pass port number on command-line. Anyway, the syntax with -P 2222 works:
Code:
path/to/kitty.exe -P 2222 !U@!@

_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License