Jump to content

Recommended Posts

Posted

Hi

I have found that if I run a TCP server on port 22 and connect to the IP using the Windows PowerShell command "ssh -l *any-user* *ip-address* the server (my script) will receive the msg "SSH-2.0-OpenSSH_for_Windows_7.7" from the client (Windows PowerShell), but that is it...

I would like to be able to "talk" to my server using the Windows PowerShell, send commands/msg's, and for my server to reply and them to be displayed in the shell.

When I send a msg to the Windows PowerShell ssh connection (using my script TCPsend) nothing happens, but there are no errors. I think the Windows PowerShell SSH client is looking for some type of msg back. 

Does anyone know more about the SSH handshake? What I would have to do to make the two (Shell and Script) "talk" with each other?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...