DotnetPublishSsh 0.1.0

.NET Core 1.0 .NET Framework 4.6.1
Install-Package DotnetPublishSsh -Version 0.1.0
dotnet add package DotnetPublishSsh --version 0.1.0
<PackageReference Include="DotnetPublishSsh" Version="0.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add DotnetPublishSsh --version 0.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: DotnetPublishSsh, 0.1.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install DotnetPublishSsh as a Cake Addin
#addin nuget:?package=DotnetPublishSsh&version=0.1.0

// Install DotnetPublishSsh as a Cake Tool
#tool nuget:?package=DotnetPublishSsh&version=0.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.


Simple publish your .Net Core application to linux server via SSH.


  • Add this to csproj file:
    <DotNetCliToolReference Include="DotnetPublishSsh" Version="0.1.0" />
  • Run dotnet restore
  • Run dotnet publish-ssh with options:
Usage: dotnet publish-ssh [arguments] [options]
Arguments and options are the same as for `dotnet publish`
SSH specific options:
  --ssh-host *              Host address
  --ssh-port                Host port
  --ssh-user *              User name
  --ssh-password            Password
  --ssh-keyfile             Private OpenSSH key file
  --ssh-path *              Publish path on remote server
(*) required


dotnet publish-ssh --ssh-host --ssh-port 22 --ssh-user root --ssh-password secret --ssh-path /var/www/site


  • Just works
  • Password authentication
  • Private key file authentication
  • Don't upload unmodified files (checksum)
  • Config file
  • Pre/post publish hooks on remote server
Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
.NET Core netcoreapp1.0 netcoreapp1.1 netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Framework net461 net462 net463 net47 net471 net472 net48
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.1.0 10,099 2/27/2018
0.0.4 1,710 10/9/2016
0.0.3 815 10/8/2016
0.0.2 796 10/8/2016
0.0.1 836 10/8/2016