AuthAttempts Property
Specifies the number of SSH password authentication attempts.
Syntax
ANSI (Cross Platform) int GetAuthAttempts();
int SetAuthAttempts(int iAuthAttempts); Unicode (Windows) INT GetAuthAttempts();
INT SetAuthAttempts(INT iAuthAttempts);
@property (nonatomic,readwrite,assign,getter=authAttempts,setter=setAuthAttempts:) int authAttempts; - (int)authAttempts; - (void)setAuthAttempts:(int)newAuthAttempts;
#define PID_SSHCLIENT_AUTHATTEMPTS 2 SECUREBLACKBOX_EXTERNAL void* SECUREBLACKBOX_CALL SecureBlackbox_SSHClient_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); SECUREBLACKBOX_EXTERNAL int SECUREBLACKBOX_CALL SecureBlackbox_SSHClient_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
1
Remarks
In case of password authentication failure provide new password inside the AuthFailed event handler.
Data Type
Integer