File: simple_connection.rb

package info (click to toggle)
ruby-sshkit 1.25.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 712 kB
  • sloc: ruby: 3,749; makefile: 2
file content (9 lines) | stat: -rw-r--r-- 222 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
# tiny example so you can play with the sshkit or make a failing example for an issue
require 'bundler/setup'
require 'sshkit'
require 'sshkit/dsl'
include SSHKit::DSL

on [ENV.fetch("HOST")] do
  execute "echo hello"
end