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

When exactly do you get the problem? For normal interactive passphrase prompt, I do not get any problem with long passphrases.

But indeed, there are scenarios, where long passphrases and passwords do not work:
https://winscp.net/tracker/1988
martin

The ssh-keygen does not accept such set of parameters (-t + -b + -C + -p). Anyway, I assume the point is that you have very very long passphrase (not "key"), right?
carlosnewmusic

the latest version available, to generate the key I have used
ssh-keygen -t rsa -b 16384 -C "comment" -p "zB#4WyY%NqN5wj#m!2*e!pK-s_^*&vXuNgWF5AMWc*Huy!V6XNJV7LrDby?yen6ZPVZE-P&Rcc@hrp+^65zy%E38dfE8Yb!_n%-^y&rfs5t54d?*%tSvb@t=nPCjYcTc*TngqvVn-3$hW6eN*^&2JC5uB#TSkyq9_?nHzyvF8SNeAu3+hgkFzZSAW27vJWP%A!qx=7UMY8m_L=4$7-_q!*4Jv*FRhN@DN7v#c!Aw@CW_6eUQmNV-awbhzX84MjYT$9^&6_aj__9n6?fE#j6vrGx=Kd7AT+dhc&$&Gy-_ccvaw9nF7&Dtcj4pWuERXbGYNm#p&LNb*j5Yq#Z9A4c5xa3nwG$TW&K@y$FW#QT^H-f_GShMJ*a6p4HGFGZ&jMTT9ZhKhPQb8QNP5$9E^qwFhV?ssCRexA!=W%DCPbv!KQ-4*aSW-%7#sTJuMJbT&f&wBM_4paP=+PgbNsJgL$Y4@P$RswVM9cknL?Cu+&4&WpShtmB6dLM4ePU6Hu9E8xQD8jEa?JrzaJgzsGrs3vg6qdKd@JYf2vFbTpKWP*?SgmJMhSthLgF#GZ72xBV2gNnYXKnS7cQe+jtR7F4My7Me5XSp?%Mhu#AKe@Pf8!V$Cnxxd%s4-rdX4GYM&Sy5TVRfJpz^4hdSKqRvbAvxu+R27h*t8^^e-sLT$@c2qASpnp+EDGP6k%7zbt-N_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ug?=AshZYqQ5s#2GXPNTEE@3Ye9q#Tb7&JwpVE*jQxQ?6P!kdy9%T-kWXYr8rM$EpHQn5UPyCyBNRa+!Z6PwDXtXxx3H7UeCU$ebeLkcgssBwHYbjNgYD*k#d5=BcPF++B3@H4W!Z5z2NfTvk#GppD3R_T-&BWw*fFC&2uuKKSBg=mH#n7JgBgG^n5z6G9VLSr3*wuZNnSu-yvD=$Pn@RHyD-?GVSEg!qKYM@FNQywRBzm=$7=xunvaUFR_XeBnF4aLAQ=n%EYehybjjd&?Gd%m6ZpkChDjSVKCB=BEd^$Z-W-+^WB6-3HZ5ekR=$q"
martin

Re: error when trying to unlock private key

What version of WinSCP are you using? How did you generate the key? Can you generate a new test key that we can use to reproduce the problem?
carlosnewmusic

Error when trying to unlock private key

With 2048 digit keys for the private key unlock password gives wrong password,