direct_ssh 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/simple_ssh +2 -2
- data/lib/direct_ssh/version.rb +1 -1
- metadata +1 -1
data/bin/simple_ssh
CHANGED
@@ -31,10 +31,10 @@ def main(argv)
|
|
31
31
|
puts host + ' - ' + ssh.exec!('cat /etc/*-release')
|
32
32
|
|
33
33
|
input = ''
|
34
|
-
until input == '
|
34
|
+
until input == 'exit'
|
35
35
|
print '# '
|
36
36
|
input = $stdin.gets.chomp
|
37
|
-
ssh_exec!(ssh, input) if input != '
|
37
|
+
ssh_exec!(ssh, input) if input != 'exit'
|
38
38
|
end
|
39
39
|
}
|
40
40
|
rescue ArgumentError => e
|
data/lib/direct_ssh/version.rb
CHANGED