login about faq

I am running Chilkat Dot Net 4.0 and need to update a working SFTP app from password authentication to certificates. Does the product I have do that? Would I only need to change the syntax to provide the key and user information? If so, is there example code as a reference?

asked Mar 08 '13 at 09:07

chilkat's gravatar image

chilkat ♦♦
11.8k316358421


See the example here: http://www.example-code.com/csharp/sftp_pubkeyAuthenication.asp

SSH/SFTP does not use digital certificates for public-key authentication. Rather, the public/private keys themselves are used. A digital certificate is something more, and it contains a public key, and is associated with a corresponding private key.

To use public-key SSH/SFTP authentication (instead of password authentication), you would install the public-key on your SSH server under the user-account. Your client-side app would use the corresponding private key to authentication. The idea is that you could provide your public-key to many different servers, and always use the same private key to authenticate. Only you (the client) has the private key, just like only you have the password for password-based authentication.

link

answered Mar 08 '13 at 09:11

chilkat's gravatar image

chilkat ♦♦
11.8k316358421

There is also the option to use public key authentication and password both. But the server on the other end has to have that option set.

link

answered Mar 08 '13 at 15:08

cdlvj130's gravatar image

cdlvj130
9691017

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×201
×28
×4

Asked: Mar 08 '13 at 09:07

Seen: 5,526 times

Last updated: Mar 08 '13 at 15:08

powered by OSQA