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. .. examples(websocket):: :::javascript { "id": "6841f242-840a-11e6-a437-00e04d680384", "msg": "method", "method": "keychaincredential.remote_ssh_semiautomatic_setup", "params": [{ "name": "Work SSH connection", "url": "https://work.freenas.org", "token": "8c8d5fd1-f749-4429-b379-9c186db4f834", "private_key": 12 }] } .. raw:: html
Must be at least 1
characters long
Must be at least 1
characters long
Must be at most 2083
characters long
Distinguishes this Keychain Credential from others.
Must be at least 1
characters long
"SSH_CREDENTIALS"
Keychain Credential ID.
Can be discovered with keychaincredential.remotesshhostkeyscan.