posh-sshell icon indicating copy to clipboard operation
posh-sshell copied to clipboard

Correct way to install posh-sshell

Open kumarharsh opened this issue 5 years ago • 1 comments

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?

kumarharsh avatar Feb 02 '19 21:02 kumarharsh