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
{{ message }}
Repository navigation
Connection to remote target with -UseSSL (HTTPS) option doesn't complete #20
I am trying to use the lib to make connection to the target using the command below command from the library and it just hangs and never returns the output.
I don't know what could be the difference between running directly in powershell and using this library. This library is very simple, it just starts a powershell process and enters the command in its stdin. You could copy the code to your software and modify it to see what works for you. It is unlikely this library will ever be updated.
Thank you for your response. I noticed an issue from my code that has caused the HTTPS not working. I fixed it and works fine now.
I understand you are not planning on maintaining the lib. I Just have one question about the SSH based remoting. When I use the SSH option -Hostname, I am seeing a new shell being created and the i/o from that new shell is not wired to the outputRecorder. This results in the new-ps-session command getting into a hung state for SSH. Is there a way to handle this interactive session?
Activity
Tuupertunut commentedon Oct 21, 2025
I don't know what could be the difference between running directly in powershell and using this library. This library is very simple, it just starts a powershell process and enters the command in its stdin. You could copy the code to your software and modify it to see what works for you. It is unlikely this library will ever be updated.
rbganesh commentedon Oct 23, 2025
Thank you for your response. I noticed an issue from my code that has caused the HTTPS not working. I fixed it and works fine now.
I understand you are not planning on maintaining the lib. I Just have one question about the SSH based remoting. When I use the SSH option -Hostname, I am seeing a new shell being created and the i/o from that new shell is not wired to the outputRecorder. This results in the new-ps-session command getting into a hung state for SSH. Is there a way to handle this interactive session?
Tuupertunut commentedon Oct 23, 2025
I don't know. I don't remember testing this with SSH or anything that creates a new shell.