Xshell Forum

Problems with transfering plus symbol to xshell from command line

Last post: Sunday, April 16, 2017 6:56 PM by Sergey Yakovlev, 3 reply

 
Wednesday, March 15, 2017 12:10 PM - Sergey Yakovlev

Problems with transfering plus symbol to xshell from command line

 
Hello!
I have funny bug with transfering '+' symbol to xShell from windows cmd.
I run in shell command like this:
"C:\Program Files (x86)\NetSarang\Xshell 5\Xshell.exe" -url ssh://123+-321@t-osic-ansible.hostco.ru:22

But in Xshell I see this string "ssh://123 -321@t-osic-ansible.hostco.ru:22" with replaced '+' by space..

How to fix it?
The main problem - all my passwords with + symbol doesn't work =\ I use Keepass with URL overriding for password management...

Program Ver. : Xshell 5
Attachment 1.jpg (4.2 KB)  
Friday, March 17, 2017 8:46 AM - zoo

Re: Problems with transfering plus symbol to xshell from command line

 
Try to use encoded characters of URL.
In this case use %2B instead of +.
This can be applicable to both username and password.

Xshell.exe -url ssh://123%2B-321:pass1%2Bpass2@hostname:22
Wednesday, April 12, 2017 5:50 AM - Support

Re: Problems with transfering plus symbol to xshell from command line

 
Hi,

This issue was fixed in Xshell 5 Build 1199 (Xmanager Enterprise 5 Build 1179) which was released on April 12, 2017.

Technical Support

Like us on Facebook
Follow us on Twitter
Visit our blog Blog
Sunday, April 16, 2017 6:56 PM - Sergey Yakovlev

Problems with transfering plus symbol to xshell from command line

 
Big Thanks for your work!