SSH login to XG with powershell

Hello Community,

has anybody a working Powershell script to connect to the XG Firewall? I'm testing with POSH-SSH module. If I try to connect to the XG with this command "New-SSHSession -ComputerName firewall" I get after entering my credentials this (german) error message: "Die angegebene Methode wird nicht unterstützt".

Connecting via PuTTY or build in Windows ssh command is no problem. My idea is to automate some setup things on CLI like to set to UDP timeout and so on.

Thanks,

Ben



Added TAG
[edited by: emmosophos at 10:49 PM (GMT -7) on 10 Aug 2021]