crafterm/sprinkle — Issue #51: SSH Actor transfer_to_host does not look at password
Author: joelmats
Created: 2011-11-04 22:49:14+00:00
State: open

I am getting errors when trying to transfer files using the ssh deployment method.

It seems this part of the transfer_to_host function doesn't look at the ssh password:

```ruby
Net::SSH.start(host, @options[:user]) do |ssh|
transfer_on_connection(source, destination, recursive, ssh)
end
```

Works when i change to:

```ruby
Net::SSH.start(host, @options[:user], :password => @options[:password) do |ssh|
transfer_on_connection(source, destination, recursive, ssh)
end
```