Page 1 of 1

cannot use special character in password...

Posted: Mon Aug 29, 2016 10:12 am
by saintofinternet
hi,

my password contains a '$' symbol and when i try to use it when logging through SSH terminal it does not accept the password.

also when i try to run the Bandwidth test through the shell if the remote device is having a "$" symbol the system refuses to run the test.

it runs perfectly fine with WINBOX as there is no issue using any special character with WINBOX.

how can i make the special character be accepted through Shell or SSH or Telnet?

Re: cannot use special character in password...

Posted: Tue Aug 30, 2016 6:04 pm
by reidavidinho
Do you think it has to do with the SSH Client?

Re: cannot use special character in password...

Posted: Tue Aug 30, 2016 6:15 pm
by saintofinternet
i am clueless.... only Normis will be the right person to help in this case....

Re: cannot use special character in password...

Posted: Thu Sep 01, 2016 6:46 pm
by reidavidinho
Try using another SSH Client, like "putty"

Re: cannot use special character in password...

Posted: Fri Sep 02, 2016 5:02 am
by saintofinternet
using Putty also you end up working in the Mikrotik Shell... so i think it's routeros which should be able to understand the special character in password....

normis!! please help.

Re: cannot use special character in password...

Posted: Fri Sep 02, 2016 10:40 am
by normis
Just made a new user with password $$$ in Webfig.
Logged in with the same password over SSH.
Works for me.

Where did you create the password? GUI or SSH ?

EDIT: I just made a new user in SSH also, with password $$$$$. It works also. Maybe try another SSH client?

Re: cannot use special character in password...

Posted: Fri Sep 02, 2016 11:33 am
by saintofinternet
try running a Bandwidth Test and use the password with $ for credentials.... it fails here...

Re: cannot use special character in password...

Posted: Fri Sep 02, 2016 12:46 pm
by normis
try running a Bandwidth Test and use the password with $ for credentials.... it fails here...
That is something else. Your initial post was about SSH

Re: cannot use special character in password...

Posted: Fri Sep 02, 2016 12:57 pm
by mrz
In RouterOS console $ is a special character, either you use escape sequence or avoid using such characters in passwords and usernames.
Whole list of special characters are here:
http://wiki.mikrotik.com/wiki/Manual:Sc ... _Sequences

Re: cannot use special character in password...

Posted: Sat Sep 03, 2016 9:03 am
by saintofinternet
try running a Bandwidth Test and use the password with $ for credentials.... it fails here...
That is something else. Your initial post was about SSH
sorry... my mistake... apologies :-)

Re: cannot use special character in password...

Posted: Sat Sep 03, 2016 9:04 am
by saintofinternet
In RouterOS console $ is a special character, either you use escape sequence or avoid using such characters in passwords and usernames.
Whole list of special characters are here:
http://wiki.mikrotik.com/wiki/Manual:Sc ... _Sequences
thank you very much. :-)