Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: Invalid Port Number error occurs while open session in putty

This issue has been added to tracker.
skysaint

Re: Invalid Port Number error occurs while open session in putty

FYI, the password is "8w}m<r-}RaN9z0.p+&+

Thanks!
martin

Re: Invalid Port Number error occurs while open session in putty

Though I wasn't able to reproduce this exact problem, I can imagine that certain combination of quotes, colons and spaces in password can cause this. I'll see if I can fix this.
skysaint

Re: Invalid Port Number error occurs while open session in putty

Disable password passing to putty, "Invalid port number" disappears.
My password is complicated thus I hope this problem could be resolved.
martin

Re: Invalid Port Number error occurs while open session in putty

Do you have a password stored in the WinSCP? Do you have password passing to PuTTY enabled? If you do, can you try to disable and see if it helps?

Also try to run PuTTY from command line password following string as an argument:
-load "WinSCP temporary session"
skysaint

Re: Invalid Port Number error occurs while open session in putty

Re-open "WinSCP temporary session", no problems, putty's just there waiting for password input.

My server has used the default port 22, and WinSCP has stored it with user "tssiprod". After I changed the port, and create a new user "tssiprod-g", the error appears.

Would the WinSCP config or other files be useful for trace the problem?
martin

Re: Invalid Port Number error occurs while open session in putty

I cannot reproduce the problem. I have used the same port number, the same username, the same PuTTY version.

After you reproduce the problem, run PuTTY again and try to open stored session "WinSCP temporary session". What does it do?
skysaint

Invalid Port Number error occurs while open session in putty

Hi,

In case of using customized SSH port (e.g. 12712 instead of 22), and login name includes dash (e.g. "tssiprod-g"), WinSCP is able to login successfully, but when I try to open session in putty(Ctrl+P), putty error occurs: "Invalid Port Number".

I have tested the same scenario with putty separately, putty can login without errors, hence the bug should be the one of WinSCP, please check it. Thanks.

WinSCP version: Any
putty version: 0.60 (latest)
SSH server: OpenSSH_4.3p2
Host: CentOS release 5.6 (Final) Linux version 2.6.18-238.9.1.el5
Windows: WinXP SP3

Thanks in advance!

-Jansen