9

Hi I am trying to complete the overthewire challenges. They require you to extract passwords and login as different users to proceed. Passwords are quite lengthy and I am not able to paste the in in terminal for what I believe is OS X design. I have tried circumventing that using sshpass and putty's plink, but to no success. What way can I do that?

4
  • 1
    Did you try Ctrl+Shift+V or Shift+Insert?
    – Jakuje
    Dec 6, 2015 at 12:17
  • 1
    Neither secondary click + Paste nor Ctrl+ Shift+V work, although it works if typed out. Dec 6, 2015 at 12:38
  • 1
    I just started this game, and you can paste passwords in OS X Terminal, it just doesn't show stars for every character you type.
    – Behdad
    Dec 7, 2015 at 19:34
  • Do you hit Enter after you paste? Oct 21, 2018 at 5:36

2 Answers 2

1

On macOS when terminal prompts a password it does not show entered characters but it accepts them when you enter. After you paste it with Command (⌘) + V just hit Enter (⏎).

0

The process below works all the time for me, This requires your mouse. Handy for long strings & passwords.

  1. Copy text/string using mouse
  2. In terminal, using the mouse, position to location and right click to paste
  3. Terminal will show pasted text.

NOTE: Terminal will not display the pasted string(password), Regardless, hit enter and it should work.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.