Ssh Bastion

Direct access to remote hosts without node installed

  1. Configure your ssh private/public keys on server you intend use as node. Basically you need to have access to target servers using regular ssh connection.
  2. Set up node service using direct ssh command:
services:
  - name: some_target_server_1
    command: ssh someuser@somehost1.com
    save_history: true
  - name: some_target_server_2
    command: ssh someuser@somehost2.com
    save_history: true