keychaincredential.remote_ssh_semiautomatic_setup¶
Perform semi-automatic SSH connection setup with other TrueNAS machine.
It creates an SSH_CREDENTIALS credential with specified name that can be used to connect to TrueNAS machine with specified url and temporary auth token. Other TrueNAS machine adds private_key to allowed username’s private keys. Other SSH_CREDENTIALS attributes such as connect_timeout can be specified as well.
Type: object
No Additional Properties
Specific value:
No Additional Properties
Type: array
No Additional Items
No Additional Properties
No Additional Items
Tuple Validation
Parameter 1: data
data
Type: objectNo Additional Properties
Name
Type: stringMust be at least 1
characters long
Url
Type: stringFormat: uriMust be at least 1
characters long
Must be at most 2083
characters long
Verify Ssl
Type: boolean Default: trueToken
Default: null Type: string
Type: null
Admin Username
Type: string Default: "root"Password
Default: null Type: string
Type: null
Otp Token
Default: null Type: string
Type: null
Username
Type: string Default: "root"Private Key
Type: integerConnect Timeout
Type: integer Default: 10Sudo
Type: boolean Default: falseSSHCredentialsEntry
Type: objectNo Additional Properties
Id
Type: integerName
Type: stringDistinguishes this Keychain Credential from others.
Must be at least 1
characters long
Type
Type: constMust be one of:
- "SSH_CREDENTIALS"
"SSH_CREDENTIALS"
Attributes
Type: objectNo Additional Properties
Host
Type: stringPort
Type: integer Default: 22Username
Type: string Default: "root"Private Key
Type: integerKeychain Credential ID.
Remote Host Key
Type: stringCan be discovered with keychaincredential.remotesshhostkeyscan.
Connect Timeout
Type: integer Default: 10Required roles: KEYCHAIN_CREDENTIAL_WRITE