TscSSHClient log on to servers that require password and public key

Discussion of open issues, suggestions and bugs regarding network security and data protection solution - SecureBridge
Post Reply
willhonor
Posts: 3
Joined: Fri 15 Jul 2016 12:06

TscSSHClient log on to servers that require password and public key

Post by willhonor » Fri 20 Nov 2020 17:11

Hello,
Is it possible to have TscSSHClient perform a log on to a server that requires both a public key and a password?

Many thanks
Will.

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: TscSSHClient log on to servers that require password and public key

Post by ViktorV » Tue 24 Nov 2020 14:32

SecureBridge supports simultaneous authentication by public key and password. For this, you should set the TScSSHClient.Authentication property to atPublicKey, and the properties ScSSHClient.PrivateKeyName and ScSSHClient.Password - to private key name and server password respectively.

Post Reply