Created
May 13, 2016 10:43
-
-
Save ttanimichi/5d02defbe5edec28219795e44ebb1280 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'sshkit' | |
require 'sshkit/dsl' | |
include SSHKit::DSL | |
on 'freeza@freeza.aiming-inc.biz' do | |
puts capture(:ls, '-l') | |
end | |
# total 12 | |
# drwxrwxr-x 5 freeza freeza 4096 May 13 16:32 example | |
# drwxrwxr-x 5 freeza freeza 4096 May 13 16:19 freeza | |
# -rw-r--r-- 1 freeza freeza 2333 May 12 22:03 google.json |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment