#!/usr/bin/env ruby -w require 'drb' require 'drb/ssl' there = "drbssl://localhost:3456" config = { :SSLVerifyMode => OpenSSL::SSL::VERIFY_PEER, :SSLCACertificateFile => "CA/cacert.pem", } DRb.start_service nil, nil, config h = DRbObject.new nil, there while line = gets puts h.hello(line.chomp) end