YAML examples for SSH Server
SSH target with password authentication and proxy
yaml
- target: my_ssh_target_action
type: SSH
name: name
host: ubuntu.tests
path: /path
auth:
method: PASSWORD
username: buddy
password: $password
proxy: my_ssh_2
tags:
- tag1
With Proxy Inline
yaml
- target: ssh_with_proxy_inline
type: SSH
name: name
host: ubuntu.tests
auth:
method: PASSWORD
username: buddy
password: $password
proxy:
host: ubuntu.tests
auth:
method: PASSWORD
username: buddy
password: $password
With Permissions
yaml
- target: ubuntu_project
type: SSH
host: ubuntu.testss
auth:
method: "PASSWORD"
username: buddy
password: $password
permissions:
others: USE_ONLY
users:
user@example.com: MANAGE
pipelines:
- all: USE_ONLY
- project: sroda
pipeline: dsadsa123
access: USE_ONLY
- project: sroda
pipeline: dsadsa
access: DENIED