Releases: xforever1313/SshRunAs
Release 4.0.1
This version of Chocolatey upgrades its runtime to .NET 8.
Other changes:
- SshRunAs is now published as a single executable instead of multiple dlls spread apart.
- Upgrade the SSH.NET package to 2024.2.0.
- SshRunAs will now exit with exit code 100 if the SSH process terminated "violently". The reason will be printed to the console.
- SshRunAs will now exit with exit code 101 if the SSH process terminated with no exit code or signal.
Release 3.0.1 - Ssh.Net Upgrade
This release's only change is it takes the latest Ssh.Net version, which fixes a vulnerability inside of the Ssh.Net library. For more information about the vulnerability, read the advisory here: GHSA-72p8-v4hg-v45p .
Since SshRunAs uses a username/password system, it probably wouldn't have been impacted by this anyways, but its better to not have vulnerable packets lying around.
Downloads
- NuGet
- Chocolatey Note: Moderation may need to finish first
- MSI
- MSI Sha256: ca96cabd759e6cab2a5d497487cac6c5b512ae2fb94ed6bdbaae9395fe9f76b3
3.0.0 - Upgrade to .NET 6
This is the 3.0.0 release of SshRunAs. This is a major version bump since the underlying runtime has been upgraded from .NET 3.1 to .NET 6.
However, there are no other changes to report. If Microsoft's claims are true, you may get a performance boost since .NET 6 is the "fastest .NET yet".
Downloads
- NuGet
- Chocolatey Note: Moderation may need to finish first
- MSI
** Sha256: 739174cff0dc76d0e3be379b541474bec4de79fde0c436110b028ac6c01700a2
2.0.0 - Several New Features!
This is the 2.0.0 release of SshRunAs. This is version 2.0.0 because of a potential breaking change if anyone looks at the exit codes of SshRunAs.
This release focuses on new features. The list of new features is below:
Changelog
Lock files
By passing in the -f or --lock_file argument, you can specify where SshRunAs drops a lock file. If a lock file already exists at that location, SshRunAs will not run the command, an exit with an exit code of 16. The lockfile will go away if a user sends CTRL+C to the process or the command completes. Sending CTRL+BREAK (or CTRL + Scroll Lock) will NOT delete the lockfile, and it must be removed manually.
Console Colors
SshRunsAs output will now output in a yellow color, errors show up in a red color. To disable colors, pass in the --no_color argument.
Exit Codes
The exit codes meaning has changed. While SshRunAs will exit with the same exit code as the command that was run on the remove server when a command completes, there are times where SshRunAs will fail, and in these cases, it will report the following exit codes:
- 0 - Command ran successfully
- 13 - Unhandled/Unknown Exception
- 14 - Invalid Arguments passed in.
- 15 - Command Cancelled.
- 16 - Lockfile detected, command not run.
Note: These numbers were chosen because they seem like numbers most applications
will not use when exiting; thus one should be able to tell if the exit code was because of SshRunAs itself,
or the command it ran. However, if the command that was run on the remove server just so happens
to match the above error codes, one won't be able to tell the difference between SshRunAs having an issue, or the command that was run.
Icon
There is now an icon on the .exe file. ....I'm not saying its a good icon, but it is one!
Chocolatey Package Embedded MSI
The chocolatey package now has the msi file embedded directly in it, instead of downloading it from a URL (assuming the chocolatey team doesn't reject that).
Dry Run
If --dryrun, --dry_run, --whatif, and/or --noop is passed into SshRunAs, SshRunAs will print the command it was going to send, and then exit with an exit code of 0. No socket connections or any of that stuff are made.
Downloads
- NuGet
- Chocolatey Note: Moderation may need to finish first
- Msi
- sha256: 027246ead46722e03efa6fd4e840153705cddbddbca9f0b1b352bd1410783858