支持任意位置的私钥文件,不再局限于默认位置 ~/.ssh/id_rsa
Rsync deployer plugin for Hexo.
You can configure this plugin in _config.yml
.
deploy:
type: rsync
host: <host>
user: <user>
root: <root>
key: <path/to/you/private_key>
port: [port] # Default is 22
delete: [true|false] # Default is true
args: <rsync args>
verbose: [true|false] # Default is true
ignore_errors: [true|false] # Default is false
- host: Address of remote host
- user: Username
- root: Root directory of remote host
- port: Port
- delete: Delete old files on remote host
- args: Rsync arguments
- verbose: Display verbose messages
- ignore_errors: Ignore errors
- key: you private key file path
MIT