Passing passwords which contain special characters on the command line

The update to the remote.it login subsystem which took place on August 4, 2020, allows new characters to be used in the password which were not previously allowed.

If you have scripts which take the password on the command line, it will be necessary to "escape" the following characters by placing a backslash in front of them.

! & ( ) | " \ / ' ; < > `

So, for example, if your new password is

 pass#!word&

then to pass this as a command line parameter will require you to enter it as

pass#\!word\&

connectd package only

If you are using the connectd_installer or connectd_register scripts, if you have a double quote in your password, it requires double escaping in order to work properly.

For example, if your new password is:

pass"word2020

you’ll have to enter it as:

pass\\\"word2020

If you have any issues with this, please let us know at support@remote.it  which special characters are in your password.

Was this article helpful?
0 out of 0 found this helpful