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

Start-SshAgent Opens a command prompt and hangs the power shell #270

Closed
abdullah2993 opened this issue Mar 18, 2016 · 6 comments
Closed

Comments

@abdullah2993
Copy link

My PowerShell Profile

import-module posh-git
function global:prompt {
    $realLASTEXITCODE = $LASTEXITCODE

    Write-Host($pwd.ProviderPath) -nonewline

    Write-VcsStatus

    $global:LASTEXITCODE = $realLASTEXITCODE
    return "> "
}

Pop-Location

Start-SshAgent -Quiet

Start-SshAgent -Quiet
opens a command promp and hangs the powershell
1

@theaquamarine
Copy link
Collaborator

What happens when you close the cmd window that appears?

@abdullah2993
Copy link
Author

@theaquamarine nothing the command prompt closes but the PowerShell remains non-responsive

@abdullah2993
Copy link
Author

@theaquamarine i think it has something to do with win32-openssh.
#258

@dahlbyk
Copy link
Owner

dahlbyk commented Mar 20, 2016

Yeah, I'm going to go ahead and close this as a duplicate of #258. Keep an eye on PowerShell/Win32-OpenSSH#110; in the meantime, the msys OpenSSH stuff has always worked well for me.

@dahlbyk dahlbyk closed this as completed Mar 20, 2016
@dahlbyk
Copy link
Owner

dahlbyk commented May 17, 2016

PowerShell/Win32-OpenSSH#110 (comment):

ssh-agent is reimplemented for Windows as a OS service. check out 5_15_2016 release details

@dahlbyk
Copy link
Owner

dahlbyk commented Jun 30, 2016

Is anyone using Win32-OpenSSH able to take #295 for a spin to make sure it works as expected for you?

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

3 participants