Forum / Remote Desktop Manager - Feature Request

Feature Request: Batch Edit/Globally Override SSH Session Max lines history

  • Create an Issue

We have to manually edit our SSH sessions to increase from the default of 256 lines. It would be great if this was added to batch edit, or could be set as an override.

rdm


Thanks!

rdm.png
Clock4 yrs

Hello,

In the mean time, you can use this powershell script. I have set the buffer to 512, please adapt to your needs.

As always, when running a power script such as this, please ensure you have a backup beforehand.

cls;
Write-Host;
Write-Host "Fixing SSH Shell sessions"
Write-Host;
$Sessions = Get-RDMSession | where {$_.Kind -eq "Putty"} | where {$_.SubMode -eq "2"}
foreach ($session in $Sessions)
{
Write-Host (" Processing : " + $session.Name);
$session.Putty.HistoryMaxLength = "512"
Set-RDMSession $session;
}
Write-Host;
Write-Host "DONE!"
Write-Host;
edited by mcote on 2/19/2015



Maurice Côté

Customers that use Devolutions Server are provided free remote sessions for performing upgrades. Please send a request to the Devolutions Service Desk to get the process started.

signaturesignature

Clock4 yrs