From: Ice Man Date: 2008-11-10T22:08:04+09:00 Subject: problem with ssh -> authentication failed Hi, i have a very stupid and annoying problem;/ I wrote a simple script: require 'rubygems' require 'net/ssh' Net::SSH.start('host',:username => 'user',:password => 'pass') do |session| shell=session.shell.open shell.dir shell.exit $stdout.print shell.stdout while shell.stdout? $stderr.puts "-- stderr: --" $stderr.print shell.stderr while shell.stderr? end All the time I have the same error: c:/ruby/lib/ruby/gems/1.8/gems/net-ssh-2.0.4/lib/net/ssh.rb:195:in `start': Net::SSH::AuthenticationFailed I tried a lot of diffrent script with ssh, but all the time I have still the same error Any suggestions what's wrong ?? THX -- Posted via http://www.ruby-forum.com/.