forked from bellwether/minerva
added test files
This commit is contained in:
parent
9f8b67b98f
commit
e3055333b3
9 changed files with 313 additions and 17 deletions
13
test/bare.py
Normal file
13
test/bare.py
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
import minerva
|
||||
import sys
|
||||
|
||||
mach = minerva.Remote(ip = sys.argv[1],
|
||||
username = "ubuntu",
|
||||
key_path = "/Users/ari/.ssh/Ari-Brown-HAY.pem")
|
||||
|
||||
mach.login()
|
||||
out, err, thread = mach.cmd("for i in $(seq 1 10); do echo $i; >&2 echo $i; sleep 2; done")
|
||||
|
||||
import IPython
|
||||
IPython.embed()
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue