-
Notifications
You must be signed in to change notification settings - Fork 7.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PowerShell Core: Unable to Prompt For SecureString Over PSSession #7239
Comments
Hi @pldmgg, I notice your sshd_config has the Port 22 line still disable. You need to make sure both Windows and Linux has that port available for openssh to work. Also, make sure you don't include the path in CentOS as it will find it automatically:
:) |
@pldmgg, Apologies!! I see now. So you're getting connected but creating the secure string hung the session. I'm trying it now with Preview.3. |
Yeap! I can reproduce the issue by simply doing:
There's the possibility that's happening in all distro of Linux (not only CentOS). |
@MaximoTrinidad Thanks for taking the time to reproduce. I have a feeling there might be something about this somewhere in https://github.com/PowerShell/Win32-OpenSSH/issues ... I'll try and take a look tomorrow EDIT: |
On the contrary! Thanks @pldmgg for catching it now. For sure, someone will take a look at this next week. |
Dup of #1654. Closing... |
Steps to reproduce
On a Windows Client running PowerShell Core v6.1.0-preview.3, create a PSSession (via SSH) to a CentOS7 host running v6.1.0-preview.2 and do the following
Expected behavior
Successfully create the securestring in a remote session
Actual behavior
Hangs indefinitely and breaks the PSSession.
Environment data
Windows Client Info:
CentOS7 Remote Host Info:
The text was updated successfully, but these errors were encountered: