From: haws Date: 2007-01-31T06:20:07+09:00 Subject: I love net/ssh library I just wish i had discovered this earlier - i can automate so much stuff now :D # Syncronize my winxp clock with server's require 'rubygems' require 'net/ssh' Net::SSH.start( 'servidor', 'hugo' ) do |session| input, output, error = session.process.popen3( "date +%H:%M:%S" ) exec "time " + output.read end