Ssh background colors

avatar

Hello
How can I change the background color of many ssh connections?
I would like to have sessions with a black background and others with a red background,
and others with a green background.

Thanks

All Comments (4)

avatar

Hello,

this can be accomplished with the Batch Edit feature (Session Type Settings)

Regards,
Min

avatar

Hello,

The Batch Edit (Session Type Settings) function also changes my login and host data,
returning the same value to all selected servers.

Sandro

avatar

Hello Sandro730,

Thank you for your reply,

I've been able to reproduce this behavior,

I will contact our engineering department regarding this,

Best regards,

Samuel Dery

avatar

Hello,

Thank you for your patience,

I've confirmed that this is indeed the intended behavior, that being said there is currently an open improvement request regarding this which I've linked to this thread,

From quickly testing on my end, you should be able to perform the change by selecting your entries then "Right-click" -> "Edit" -> "Edit (Special Actions)" -> "Custom PowerShell Command", the following command would be what you're looking for:
Red

$connection.Terminal.ColorMode = "Override";
$connection.Terminal.ColorDefaultBackground = "#F00000"; 
$RDM.Save();

Black

$connection.Terminal.ColorMode = "Override";
$connection.Terminal.ColorDefaultBackground = ""; 
$RDM.Save();


I would recommend testing on a single entry first to ensure the results are what you want.

Best regards,

Samuel Dery