Page 1 of 1

TscSSHClient log on to servers that require password and public key

Posted: Fri 20 Nov 2020 17:11
by willhonor
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.

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

Posted: Tue 24 Nov 2020 14:32
by ViktorV
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.