Skip to content
This repository has been archived by the owner on Mar 19, 2022. It is now read-only.

Commit

Permalink
Merge pull request #264 from matschaffer/issue/whitespace-in-password
Browse files Browse the repository at this point in the history
AuthenticationFailed when password last char is space
  • Loading branch information
matschaffer committed Jul 20, 2013
2 parents c343597 + 87b030c commit 6b02793
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/knife-solo/ssh_command.rb
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ def host
def ask_password
ui.ask("Enter the password for #{user}@#{host}: ") do |q|
q.echo = false
q.whitespace = :chomp
end
end

Expand Down

0 comments on commit 6b02793

Please sign in to comment.