darkoperator / Posh-SSH

PowerShell Module for automating tasks on remote systems using SSH
BSD 3-Clause "New" or "Revised" License
985 stars 227 forks source link

Newest module version does not export the command New-SFTPSession #336

Closed hematic closed 3 years ago

hematic commented 4 years ago

Under functions to Export "New-SFTPSession" is not included in version 2.2.

The command is still there in the code but it isn't exported and therefore you cant call it.

darkoperator commented 4 years ago

If you do a import-module posh-ssh -verbose does it not show as loading? How did you install the module?

jcoryatjr commented 4 years ago

I have not seen this. I am using 2.2 and that cmdlet is exported and visible.

darkoperator commented 4 years ago

have not been able to replicate this issue

sdeycode commented 4 years ago

Trying to install posh-ssh module in powershell 5. What am I doing wrong? I could install the Posh-ssh in powershell 7 (which is core) but several functionalities for sftp is not working in powershell 7 Posh-ssh issue_unable to install in Powershell5

darkoperator commented 4 years ago

Trying to check but seem the PowerShell gallery is down at this moment dont know if that is the issue

On Aug 13, 2020, at 9:43 PM, sdeycode notifications@github.com wrote:

 Trying to install posh-ssh module in powershell 5. What am I doing wrong? I could install the Posh-ssh in powershell 7 (which is core) but several functionalities for sftp is not working in powershell 7

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

sdeycode commented 4 years ago

We could downoad powershell 7. Is there an alternate way to install the package?

darkoperator commented 4 years ago

You can download the release and place it in one of your modules paths. https://docs.microsoft.com/en-us/powershell/scripting/gallery/how-to/working-with-packages/manual-download

Sent from my iPhone

On Aug 14, 2020, at 10:04 AM, sdeycode notifications@github.com wrote:

 We could downoad powershell 7. Is there an alternate way to install the package?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.