lib/rye/box.rb in rye-0.6.0 vs lib/rye/box.rb in rye-0.6.1

- old
+ new

@@ -180,9 +180,10 @@ end rescue Net::SSH::AuthenticationFailed => ex print "\a" if retried == 0 && @info # Ring the bell once retried += 1 if STDIN.tty? && retried <= 3 + STDERR.puts "Passwordless login failed for #{@opts[:user]}" @opts[:password] = highline.ask("Password: ") { |q| q.echo = '' } @opts[:auth_methods] ||= [] @opts[:auth_methods] << 'password' retry else