You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
New-PSSession: [[fe80::215:5dff:fe15:5934]] The background process reported an error with the following message: The SSH client session has ended with error message: ssh: connect to host fe80::215:5dff:fe15:5934 port 22: Invalid argument.
Error details
Exception : Type : System.Management.Automation.Remoting.PSRemotingTransportException ErrorCode : 2100 ErrorRecord : Exception : Type : System.Management.Automation.ParentContainsErrorRecordException Message : The background process reported an error with the following message: The SSH client session has ended with error message: ssh: connect to host fe80::215:5dff:fe15:5934 port 22: Invalid argument. HResult : -2146233087 CategoryInfo : ResourceUnavailable: (:) [], ParentContainsErrorRecordException FullyQualifiedErrorId : System.Management.Automation.Remoting.PSRemotingDataStructureException Message : The background process reported an error with the following message: The SSH client session has ended with error message: ssh: connect to host fe80::215:5dff:fe15:5934 port 22: Invalid argument. HResult : -2146233087TargetObject : System.Management.Automation.RemoteRunspaceCategoryInfo : OpenError: (System.Management.A…tion.RemoteRunspace:RemoteRunspace) [New-PSSession], PSRemotingTransportExceptionFullyQualifiedErrorId : 2100,PSSessionOpenFailedErrorDetails : [[fe80::215:5dff:fe15:5934]] The background process reported an error with the following message: The SSH client session has ended with error message: ssh: connect to host fe80::215:5dff:fe15:5934 port 22: Invalid argument.InvocationInfo : MyCommand : New-PSSession ScriptLineNumber : 1 OffsetInLine : 1 HistoryId : 3 Line : New-PSSession -HostName "[fe80::215:5dff:fe15:5934]" -UserName root -KeyFilePath '/root/.ssh/id_rsa' PositionMessage : At line:1 char:1 + New-PSSession -HostName "[fe80::215:5dff:fe15:5934]" -UserName root - … + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ InvocationName : New-PSSession CommandOrigin : InternalScriptStackTrace : at <ScriptBlock>, <No file>: line 1PipelineIterationInfo :
Environment data
# server:"Rocky Linux 9.2"
sshd_config:
Subsystem powershell /usr/bin/pwsh -sshs -NoLogo -NoProfile
UseDNS no
# client:
linux + powershell 7.4.3 to server ipv6 addr ,problem
linux + powershell 7.2.21 to server ipv6 addr ,problem
# normal
win + PowerShell 7.5.0-preview.2 ssh to server ipv6 addr ,normal
linux + powershell 7.2.21 to server ipv4 addr ,normal
linux client tcping server ipv6 22 port,normal
Visuals
No response
The text was updated successfully, but these errors were encountered:
Prerequisites
Steps to reproduce
New-PSSession -HostName [fe80::215:5dff:fe15:5934] -UserName root -KeyFilePath '/root/.ssh/id_rsa'
Expected behavior
return a new PSSession
Actual behavior
New-PSSession: [[fe80::215:5dff:fe15:5934]] The background process reported an error with the following message: The SSH client session has ended with error message: ssh: connect to host fe80::215:5dff:fe15:5934 port 22: Invalid argument.
Error details
Environment data
Visuals
No response
The text was updated successfully, but these errors were encountered: