capistrano ssh login problem

Hi all,

When I run rake remote:exec ACTION=setup, I'm prompted for my password and
then I get an error and can't connect. The trace is:
/usr/lib/ruby/gems/1.8/gems/net-ssh-1.0.9/lib/net/ssh/session.rb:129:in
`initialize'
/usr/lib/ruby/gems/1.8/gems/net-ssh-1.0.9/lib/net/ssh.rb:47:in `start'
/usr/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/capistrano/ssh.rb:31:in
`connect'
/usr/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/capistrano/actor.rb:25:in
`connect_to'
/usr/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/capistrano/actor.rb:397:in
`establish_connections'
/usr/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/capistrano/actor.rb:396:in
`establish_connections'
/usr/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/capistrano/actor.rb:424:in
`execute_on_servers'

If I go into IRB and try to connect using Net::SSH with the same credentials
as I have in the deploy.rb script, it works fine. I'm using dreamhost.
Anyone else have this problem?

Thanks,
Daniel