Start a new topic

Coloring of syntax in SSH sessions


it would be very helpfull if you could make it so that certain words in SSH session get a color.

It would also be nice if you could choose those words and colors freely or use a template such as 'Cisco network devices' or 'Linux distributions'.

Your competitors such as MobaXterm and Devolutions already have this possibility.

Thanks and keep up the good work!

5 people like this idea

Hi Adam,

you are right, this is only available for Rebex based connections. The reason we cannot support that for PuTTY based connection is simply because PuTTY does not support that feature. The way PuTTY is integrated is very simple and we actually just start PuTTY.exe. If PuTTY implements this feature and we can control is by writing the configuration to the registry as we do with all the other PuTTY settings, we can also enable this for PuTTY.

Switching your existing connections from PuTTY to Rebex in bulk is quite simple. Check out this short videos on how to use the dashboard and the bulk-edit feature:

For new objects, use the Aplication -> Default Sertings folder to setup all the default values.

Let me know if this helps.


1 person likes this

Hi Adam,

you first need to go to the "Plugin" page in the properties and change the active plugin to "Rebex". After that you need to re-open the bulk-edit dialog. Let me know if this helps.


1 person likes this

Since I came to RoyalTS from using Mobaxterm, I was spoiled by its syntax highlighting of words that were built-in. Does anyone have a similar regex and is willing to share, to apply this to RoyalTS?

1 person likes this

To make it clear: it's the highlighting of keywords that I'm talking about.

1 person likes this

I'm sorry for the delay. We expect a first public beta within the next month or two. Stay tuned...

1 person likes this

I should clarify; when you pipe a word that's an or.

So strictly speaking in the last three I put up there the pattern before the pipe matches anything with starting with the word that has something else after it, and after the pipe it matches the word itself.

I'm sure there's a more elegant way to do it but I'm not an expert in regex...

1 person likes this

We have a rough prototype ready but it's not yet production quality. As mentioned above it will be part of the next major release but this will take a while. We will probably have a beta with the feature included in a couple of months...

I'm sorry I can't be more specific.

1 person likes this

I think you can take out all but the first (?i) if you use that as a single string.

Something like:


Definitely not more elegant, but a bit shorter and should be functional? I would need to test it out.

Actually, I think this might be better:


This should cover all iterations with the words in them. I'm struggling with 'err' though.


This should cover everything that begins with "err" case insensitive. However, it isn't working in RTS for me.

You could use:


or have a single line:


But this will catch anything with err in the string.

It will catch "err", "error" but will also catch "overruns" because it has "err" in it. So it will catch anything with "err" anywhere in the word.

Not sure how Royal implemented regex, but I haven't been able to figure out how to do start string matches yet.

Alright, I got a new's more complected but also includes more options.  I grabbed the major sytax from another vendor, but it seems to work with RTS:

(¨( *)?no | down |[^A-Za-z0-9](disabl(\w*)|fault|shutdown|disconnected|err(\w*)|ERR(\w*)|fail(\w*)|denied|not permitted|disallowed|not allowed|refused|problem|not permitted|notconnect)[^A-Za-z0-9])

You can take out or add anything between the first set of parentheses after the "[^A-Za-z0-9]".

The first "| down |" only matches the string "down" with a space before and after. You can exclude that entirely if you want.

that's great Adam!

Thank you very much, it's been a long time since I learned and used RegEx.


This isn't working in my RTS:

(¨( *)?no | down |[^A-Za-z0-9](disabl(\w*)|fault|shutdown|disconnected|err(\w*)|ERR(\w*)|fail(\w*)|denied|not permitted|disallowed|not allowed|refused|problem|not permitted|notconnect)[^A-Za-z0-9])

 I'm not using the latest version though, could that be an issue?

 I had the v5 beta for a time and didn't see any keyword highlighting available. Did it not make it into this beta?

I regularly import a new site with 40+ telnet or SSH sessions via a spreadsheet, is there a simple way to apply syntax highlighting on all these new connections?  At present it looks like I have to go add the regex, then select the colours. Can be done in Bulk edit, but its still laborious. 

Hi James,

check out the bulk-edit KB here:

I hope this helps.


Login or Signup to post a comment