# File lib/net/ssh/util/prompter.rb, line 37
        def password( prompt=nil )
          if $stdin.tty?
            echo false
            print prompt if prompt
          end

          $stdin.gets.chomp
        ensure
          if $stdin.tty?
            echo true
            puts
          end
        end