Skip to content
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

Interactive commands not supported #1

Closed
manojampalam opened this issue Oct 8, 2015 · 2 comments
Closed

Interactive commands not supported #1

manojampalam opened this issue Oct 8, 2015 · 2 comments

Comments

@manojampalam
Copy link
Contributor

Repro steps:

  • Open a remote ssh session (from windows client to windows server)
  • do net use \share /u:user
  • type password but ssh never returns
@dkulwin
Copy link
Contributor

dkulwin commented Oct 8, 2015

I seem to remember some difficulty getting Net command password prompts to work with redirected input. I don’t recall the specifics though. I believe that the password prompt ignores redirected input and looks to get data straight from the console. Using pipes as the IO with the cmd.exe shell will work with most things, but programs that utilize certain console calls will hang or just not work.

From: manojampalam [mailto:[email protected]]
Sent: Thursday, October 8, 2015 11:41 AM
To: PowerShell/Win32-OpenSSH [email protected]
Subject: [Win32-OpenSSH] Interactive commands not supported (#1)

Repro steps:

  • Open a remote ssh session (from windows client to windows server)
  • do net use \share /u:user
  • type password but ssh never returns


Reply to this email directly or view it on GitHubhttps://github.com//issues/1.

@manojampalam
Copy link
Contributor Author

You are right. This is an issue with net.exe as it does not read redirected input. Thanks for the follow up .

tgauth added a commit that referenced this issue Nov 2, 2022
add GH Workflow for WinGet updates
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants