Skip to content

Commit

Permalink
Version 3.1.1
Browse files Browse the repository at this point in the history
Uses new version of the SSH.Net Library
  • Loading branch information
darkoperator committed Oct 23, 2023
1 parent f00564d commit b602e24
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 13 deletions.
23 changes: 17 additions & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# ChangeLog

## Version 3.1.1

Module now uses the 2023 version of the SSH.Net library. This library provides now:

* Support for RSA-SHA256/512 signature algorithms
* Support for parsing OpenSSH keys with ECDSA 256/384/521 and RSA
* Added async support to SftpClient and SftpFileStream
* Added ISftpFile interface to SftpFile
* Improved performance and stability
* Added the ability to set the last write and access time for Sftp file

## Version 3.0.7

* New command `Get-SSHHostKey` for getting a host SSH key fingerprint.
Expand Down Expand Up @@ -47,14 +58,14 @@ This release is possible thanks to @pcatrobrouillet, @soynerdito and specially @

## Version 2.0.1

* Get-SFTPCholdItem was not showinng folders when recursively listing.
* Fixed issue when deleteting none empty folders.
* Get-SFTPItem was not displaying folders when recursively listing.
* Fixed issue when deleting none empty folders.

## Version 2.0

* Windows PowerShell 2.0 has been deprecated by Microsoft and several major versions have been released after it, for this reason PowerShell 2.0 is no longer supported by the module.
* New-SSHSession, New-SFTPSession, Set-SCPFile and Set-SCPFolder support the KeyString parameter, a string array of the content of a OpenSSH key for authentication.
* For Azure users when Force parameter is used it will not look in to the resgitry for exiting keys to validate against. Usefull when ran under an account that is not a user.
* For Azure users when Force parameter is used it will not look in to the registry for exiting keys to validate against. Useful when ran under an account that is not a user.
* Set-SCPFile Better pipeline support when receiving objects from Get-Childitem.
* Set-SFTPFile LocalFile Parameter accepts a string[].

Expand All @@ -73,7 +84,7 @@ This release is possible thanks to @pcatrobrouillet, @soynerdito and specially @
* New -Force parameter on New-SSHSession, New-SFTPSession, Get-SCPFolder, Set-SCPFolder, Get-SCPFile and Set-SCPFile that will disable any host key checking.
* Better warning on Remove-SFTPItem when it is not an empty directory.
* New function Set-SFTPPathAttribute for setting SFTP Path Attribute.
* PSCredential attributte added to all cmdlets and functions that take credentials.
* PSCredential attribute added to all cmdlets and functions that take credentials.
* Added NoProgress parameter to SCP and SFTP cmdlets

## Version 1.7.4
Expand All @@ -83,13 +94,13 @@ This release is possible thanks to @pcatrobrouillet, @soynerdito and specially @

## Version 1.7.3

* Made some of the SFTP cmdlets will now honor the erroraction variable with the exception of a problem during transfer where a terminating error will be raised and should be handled in a Try{}Catch{} block.
* Made some of the SFTP cmdlets will now honor the ErrorAction variable with the exception of a problem during transfer where a terminating error will be raised and should be handled in a Try{}Catch{} block.
* Will pass the domain during logon for those cases where SSH server is connected to an AD infrastructure.

## Version 1.7.2

* Fix problem with Get-SFTPFile cmdlet. It was creating a empty file before checking if a file existed causing error or blanking a exiting file accidentally.
* Add session and session id properties to a generated streem to address request in issue #34
* Add session and session id properties to a generated stream to address request in issue #34

## Version 1.7.1

Expand Down
Binary file modified Posh-SSH/Assembly/Renci.SshNet.dll
Binary file not shown.
4 changes: 2 additions & 2 deletions Posh-SSH/Posh-SSH.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#RootModule = ''

# Version number of this module.
ModuleVersion = '3.0.8'
ModuleVersion = '3.1.1'

# ID used to uniquely identify this module
GUID = 'f5c99306-7b5a-4fca-a052-f79ad1e48fbf'
Expand All @@ -24,7 +24,7 @@ Author = 'Carlos Perez'
CompanyName = 'www.darkoperator.com'

# Copyright statement for this module
Copyright = '(c) 2022 Carlos Perez. All rights reserved.'
Copyright = '(c) 2023 Carlos Perez. All rights reserved.'

# Description of the functionality provided by this module
Description = 'Provide SSH and SCP functionality for executing commands against remote hosts.'
Expand Down
Binary file modified Posh-SSH/PoshSSH.dll
Binary file not shown.
4 changes: 2 additions & 2 deletions Source/PoshSSH/PoshSSH.Core/PoshSSH.Core.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<LangVersion>latest</LangVersion>
Expand Down Expand Up @@ -33,11 +33,11 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="SSH.NET" Version="2023.0.0" />
<PackageReference Include="SshNet.Security.Cryptography">
<Version>1.3.0</Version>
</PackageReference>
<PackageReference Include="PowerShellStandard.Library" Version="5.1.1" />
<PackageReference Include="SSH.NET" Version="2020.0.2" />
</ItemGroup>

</Project>
6 changes: 3 additions & 3 deletions Source/PoshSSH/PoshSSH/PoshSSH.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,8 @@
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\Posh-SSH\Assembly\Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="Renci.SshNet, Version=2017.0.0.0, Culture=neutral, PublicKeyToken=1cee9f8bde3db106, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\Posh-SSH\Assembly\Renci.SshNet.dll</HintPath>
<Reference Include="Renci.SshNetDev">
<HintPath>..\packages\Renci.SshNetDev.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
Expand All @@ -50,6 +49,7 @@
<HintPath>..\..\..\..\..\..\..\..\Program Files (x86)\Reference Assemblies\Microsoft\WindowsPowerShell\3.0\System.Management.Automation.dll</HintPath>
</Reference>
<Reference Include="System.Memory, Version=4.0.1.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51" />
<Reference Include="System.Runtime.Serialization" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="System.Data" />
Expand Down

0 comments on commit b602e24

Please sign in to comment.