-
Notifications
You must be signed in to change notification settings - Fork 224
Closed
Description
Running the 3.0 alpha on Powershell 7.1.1 on Ubuntu 20.
When using New-SSHSession
to connect to Cisco switches, it sometimes work and sometimes doesn't. Connecting to other Linux hosts seem to work better. See output:
PS /home/tbhel> New-SSHSession -ComputerName "10.1.2.20" -Credential $cred
New-SSHSession: Session operation has timed out
PS /home/tbhel> New-SSHSession -ComputerName "10.1.2.20" -Credential $cred
Server SSH Fingerprint
Do you want to trust the fingerprint 5:21:60:b5:fb:5d:7b:9c:c6:8f:4c:24:36:8e:f:bd
[] Y [] N [?] Help (default is "N"): y
SessionId Host Connected
--------- ---- ---------
0 10.1.2.20 True
PS /home/tbhel> Get-SSHSession | Remove-SSHSession
True
PS /home/tbhel> New-SSHSession -ComputerName "10.1.2.20" -Credential $cred
SessionId Host Connected
--------- ---- ---------
0 10.1.2.20 True
PS /home/tbhel> Get-SSHSession | Remove-SSHSession
True
PS /home/tbhel> New-SSHSession -ComputerName "10.1.2.20" -Credential $cred
New-SSHSession: Session operation has timed out
Connecting from a regular SSH client always work. Connecting from Posh-SSH 2.2 on a Windows host also always work.
Metadata
Metadata
Assignees
Labels
No labels