blob: f57dfc633f4f7019e0a8a3bd0028a8711cd1cbf3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
require 'net/ssh'
require 'logger'
Net::SSH.start(
'host', 'user',
:host_key => "ssh-rsa",
:encryption => "blowfish-cbc",
:keys => [ "/tmp/temporary-key" ],
:compression => "zlib"
) do |session|
...
end
|