ssh_save_credential
Save SSH credentials with a unique ID for secure reuse in remote server connections, supporting both password and SSH key authentication.
Instructions
Save SSH credentials for reuse
Input Schema
Name | Required | Description | Default |
---|---|---|---|
credentialId | Yes | Unique identifier for this credential | |
host | Yes | SSH server hostname or IP address | |
passphrase | No | Passphrase for private key | |
password | No | SSH password (if not using key) | |
port | No | SSH port number | |
privateKeyPath | No | Path to private key file | |
username | Yes | SSH username |
Input Schema (JSON Schema)
{
"properties": {
"credentialId": {
"description": "Unique identifier for this credential",
"type": "string"
},
"host": {
"description": "SSH server hostname or IP address",
"type": "string"
},
"passphrase": {
"description": "Passphrase for private key",
"type": "string"
},
"password": {
"description": "SSH password (if not using key)",
"type": "string"
},
"port": {
"default": 22,
"description": "SSH port number",
"type": "number"
},
"privateKeyPath": {
"description": "Path to private key file",
"type": "string"
},
"username": {
"description": "SSH username",
"type": "string"
}
},
"required": [
"credentialId",
"host",
"username"
],
"type": "object"
}