sshnet / SSH.NET

SSH.NET is a Secure Shell (SSH) library for .NET, optimized for parallelism.
http://sshnet.github.io/SSH.NET/
MIT License
4.01k stars 934 forks source link

Certificate connection ssh tectia server problem #493

Open Bing-Chan opened 5 years ago

Bing-Chan commented 5 years ago

Who can give an example of using the publickey to log in to the ssh tectia server,TKS!

tawaraja commented 5 years ago

Hi duochan, normally to use public key to authenticate requires the authorized_keys to be updated in the .ssh directory in the Unix / Linux server. The same should be done for Tectia. When updating the authorized_keys, please set your editor to no wrap mode / disable wordwrap to avoid mistake. Just append the key information as single line.

To generate your key pairs in Windows, you will need to use the ssh-keygen tool that comes along with puTTY installation.

Here is the URL for Tectia which might be useful. https://www.ssh.com/manuals/server-admin/60/userauth-pk.html

Hope that helps.