Jump to content

Additional parameters for private key SSH


RobinVdW

Recommended Posts

Hi,

 

When testing the remote session launcher today I noticed that in the pslauncher.ps1 script in the Open-SSHPKSession functon on line 190 the $AdditParameters variable isn't called like it is in the Open-SSHSession() function on line 134. For our use case we'd need to pass some additional parameters to putty, but this change is easily manually made within the script. I was just wondering if this parameter was intentionally omitted.

 

This is the change I made to line 190 to make it work for our testcase:

Invoke-Expression "& '$SSHClientPath' $AdditParameters -P $Port $HostName -ssh -l $UserName -i $env:TEMP\$fileName " | Out-Null

 

Regards,

Robin

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...