DotnetPublishSsh 0.1.0
Publish .Net Core app to remote server via SSH
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"
For F# scripts that support #r syntax, copy this into the source code to reference the package.
dotnet-publish-ssh
Simple publish your .Net Core application to linux server via SSH.
Usage
- Add this to
csproj
file:
<ItemGroup>
<DotNetCliToolReference Include="DotnetPublishSsh" Version="0.1.0" />
</ItemGroup>
- 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
Example
dotnet publish-ssh --ssh-host 10.0.0.1 --ssh-port 22 --ssh-user root --ssh-password secret --ssh-path /var/www/site
TODO
- Just works
- Password authentication
- Private key file authentication
- Don't upload unmodified files (checksum)
- Config file
- Pre/post publish hooks on remote server
dotnet-publish-ssh
Simple publish your .Net Core application to linux server via SSH.
Usage
- Add this to
csproj
file:
<ItemGroup>
<DotNetCliToolReference Include="DotnetPublishSsh" Version="0.1.0" />
</ItemGroup>
- 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
Example
dotnet publish-ssh --ssh-host 10.0.0.1 --ssh-port 22 --ssh-user root --ssh-password secret --ssh-path /var/www/site
TODO
- Just works
- Password authentication
- Private key file authentication
- Don't upload unmodified files (checksum)
- Config file
- Pre/post publish hooks on remote server
Dependencies
-
.NETCoreApp 1.0
- Microsoft.NETCore.App (>= 1.0.5)
- SSH.NET (>= 2016.1.0)
-
.NETCoreApp 1.1
- Microsoft.NETCore.App (>= 1.1.2)
- SSH.NET (>= 2016.1.0)
-
.NETCoreApp 2.0
- Microsoft.NETCore.App (>= 2.0.0)
- SSH.NET (>= 2016.1.0)
-
.NETFramework 4.6.1
- SSH.NET (>= 2016.1.0)
Used By
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.