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

Correct way to install posh-sshell #18

Open
kumarharsh opened this issue Feb 2, 2019 · 1 comment
Open

Correct way to install posh-sshell #18

kumarharsh opened this issue Feb 2, 2019 · 1 comment

Comments

@kumarharsh
Copy link

System Details

  • posh-sshell version/path: ??
  • PowerShell version: 6.0.2
  • Operating system name and version: Windows 10 1809
  • OpenSSH / Putty version: 7.9.0.0

Issue Description

I am trying to set up ssh-agent to work with Windows' OpenSSH client but apparently, posh-git doesn't work perfectly with windows' OpenSSH and it keeps asking my for my passphrase everytime. I then came across this project, and it seems like I'll need to install posh-sshell to make posh-git work with OpenSSH-Win32?

When I install this extension, I get this error:

> PowerShellGet\Install-Module posh-git -Scope CurrentUser -AllowPrerelease -Force
> PowerShellGet\Install-Module posh-sshell -Scope CurrentUser -AllowPrerelease -Force
PackageManagement\Install-Package : The following commands are already available on this system:'Add-SshKey,Get-SshAgent,Get-
SshPath,Start-SshAgent,Stop-SshAgent'. This module 'posh-sshell' may override the existing commands.

What is the recommended way to install both modules?

@JeremySkinner
Copy link
Collaborator

Hi, if you want both modules installed you'll need to grab the code of posh-git from master, rather than installing a release. These functions were removed from posh-git into posh-sshell after the lastest release of posh-git was made (1.0-beta2), so you will end up with these conflicts if you use the latest release of posh-git.

@dahlbyk is there a chance of getting a 1.0-beta3 of posh-git sometime soon so both modules can be installed from the gallery?

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