Windows Server 2022
PSVersion: 5.1.20348.1366
Veeam Console: 11.0.1.1261 P20220302
OpenSSH 8.9.1.0
User Role in Veeam: Administrator
When I logon to the Windows Console, open Powershell and run: connect-vbrserver -server myserverl .. everything works. Also, as that user, I am able to open the Veeam Console and interact with Veeam as expected.
When I logon to the Windows Server via SSH, I invoke powershell via the CLI and then I run 'connect-vbrserver'. No matter which options I try, I always get this error:
Code: Select all
Connect-VBRServer : Cannot open log for source 'Veeam Backup'. You may not have write access.
At line:1 char:1
+ Connect-VBRServer -server myserver
+ ~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], InvalidOperationException
+ FullyQualifiedErrorId : System.InvalidOperationException
Connect-VBRServer -server myserver
Connect-VBRServer -server myserver -User myuser -Password mypass
Connect-VBRServer -server myserver -Credential $mycreds
Connect-VBRServer -server myserver -User anotheruser -Password anotherpass
Unfortunately, "C:\Users\myuser\AppData\Local\Veeam\Backup\VeeamPowerShell.txt" is not getting any logs. It does exist .. but not getting anything from these attempts to invoke Connect-VBRServer in the SSH session. NOTE: Logs are generated when I invoke connect-vbrserver from the Windows Console session. So this behaviour is limited to the SSH session.
My initial thoughts are that something is missing from the SSH environment ($env) relevant to that log file? This is causing connect-vbrserver to fail.