Quantcast
Channel: sshnet Discussions Rss Feed
Viewing all articles
Browse latest Browse all 1729

New Post: Invoke-SshCommand fails to return to PowerShell

$
0
0
Hello,
I have loaded up the SSH-Sessions module in PowerShell (Windows 2012), and I am able to establish a SSH Session between my Windows Server & ASA Firewall.
When typing:
Get-SshSession
I can see the resulting output showing the connection to my Firewall.
However, when I try to run:
Invoke-SshCommand -ComputerName xxxxx -Command "show checksum"
(any user can run this command with access to the firewall)

I never receive an output, nor am I returned back to PowerShell.

I can break out of PowerShell, re-establish a connection to the firewall, however when I use:
Enter-SshSession -ComputerName xxxxx

I am again not returned to a prompt, PowerShell again just sits there.

Am i missing something in my environment? I do not know where to start troubleshooting, as I am not receiving any errors.

Jens

Viewing all articles
Browse latest Browse all 1729

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>