def initialize
unless private_key_file
raise "settings for `ssh_identity_key` not set"
end
unless File.exist?(private_key_file)
raise "Ssh public key file #{private_key_file} doesn't exist.\n" "You can generate one with `ssh-keygen -t rsa -b 4096 -f #{private_key_file} -N ''`"
end
unless File.exist?(public_key_file)
raise "Ssh public key file #{public_key_file} doesn't exist"
end
@dispatcher = Proxy::RemoteExecution::Ssh::Dispatcher.spawn('proxy-ssh-dispatcher',
:clock => Proxy::Dynflow.instance.world.clock,
:logger => Proxy::Dynflow.instance.world.logger)
end