ssh_git_pull
SSH into a remote host to perform git pull in a specified repository directory. Authenticate using private key (PEM string or file) or password.
Instructions
SSH into a remote host and run git pull in the specified repository directory. Supports authentication via private key (PEM string or file path) or password.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | Remote hostname or IP address | |
| port | No | SSH port (default 22) | |
| branch | No | Branch to pull (default: current tracking branch) | |
| password | No | SSH password (if not using a key) | |
| repoPath | Yes | Absolute path to the git repository on the remote host | |
| username | Yes | SSH username | |
| passphrase | No | Passphrase for the private key | |
| privateKey | No | PEM-encoded private key content | |
| privateKeyPath | No | Path to private key file (e.g. ~/.ssh/id_rsa) |