Fix Invalid Port Number Error with TortoiseSVN and PuTTY
I just wasted an hour on this, so I hope that explaining the solution here will help someone. If you’re using TortoiseSVN and PuTTY, perhaps using a private key created with PuTTYgen (like me), then this probably applies to you. I’m using Windows XP Pro, but Home is probably the same. I didn’t have this problem before because I just used cygwin’s ssh.exe which worked fine.
PuTTY Internal Error
Invalid Port Number
For TortoiseSVN’s SSH cilent, leave the box blank. Do not choose putty.exe, that doesn’t work. Blank is fine, TortoisePlink is fine. Otherwise you see the error above. When you enter the URL to the repository, use the PuTTY saved session name instead of the server name. For example, if your session is MyConnection, use MyConnection for the server instead of, for example, svn.osafoundation.org.
Thank you soooooo much… 2 days I’m getting crazy… Great advise…
Thanks! It did help ;)
thanks. that did it.
Thank you very much! :-)
Thank you! Worked for me, too.
At the moment i am still using password authentification. For all those who are doing the same led me add, that I needed to insert my Password 3 times in a row. This distracted me quite a while.
Bless You (and google)
Thanks! saved me lots of troubleshooting.
Thank you Elliot, you probably saved me a big chunk of time. I came across this problem while trying to relocate my wc to a non-standard port address.
Like everyone else here, I was banging my head against the wall for quite a while before finding your post — thanks for making it!
Merci! (thanx)
Thanks! Very helpul
THANK YOU MAN THANK YOU!!! I have a deadline today and I spent most of yesterday trying to do and import. This helped tremendously!!!
Thank you so much! Now I can work remotely again.
Elliot,
Congratulations, you save my time.
Thanks,
Mauricio Bitencourt
thanks, saved an hour :)
Ahhhh!!!! Much better. THANKS!!!!!!!!!!!!!!!
Thank you!!!! Saved a lot of time!
Indeed i think this is a bug of tortoiseSVN. I had the same problem and if you leave the SSH client field blank, it’s fine. You save me from 1 hour of grumbling :)
thanks
THANK YOU !!! REALLY THANK YOU !!! You saved me from hours and hours of torture :)
Cheers ….., been struggling with this all morning
Once more: thanks a lot! :)
Morten
Dude, THANK YOU! I spent DAYS on this, thinking something was wrong with my svn setup or my url for the repository. Well, I only spent a couple hours each day on it, but still.
THANK YOU.
ditto, thanks!
Thanks so much! I wasted a few hours trying different variations of the url, the svn setup, etc. When all along it was because I put putty there!
excellent – thank you for posting that.
Thanks much !! this was very helpful..