Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I recently jailbroke my iPhone 4, running iOS 5.1, and am trying to recover some files that were deleted. I am new to SSH and am currently using Cygwin.

The issue I'm having is that when I try to to ssh <username>@<my laptop's IP address> from Mobile Terminal on my iPhone, I get:

Permission denied (public key, password, keyboard-interactive)

I'm confused. The password is right, but it's saying that I'm wrong.

I know a lot of people say to use something called keys to avoid password login, but I'd rather just stick with password login, seeing as how I won't be doing this very often, probably just this once to grab raw iPhone data (using dd commands).

On my iPhone Mobile Terminal, the first thing I type is "su" then enter my password, then am presented with FirstName-LastNames-iPhone:/var/mobile root#.

Then I proceed to type ssh <username>@(laptop's ip address)

It goes through and asks for a password, and that's where it all goes to hell. Any ideas?

share|improve this question

migrated from May 28 '12 at 21:58

This question came from our site for professional and enthusiast programmers.

Have you tried using PuTTy to connect and see what's going on? – Rudi Visser May 28 '12 at 20:47
Not really a programming question - I've nominated it for migration to SuperUser. – Abizern May 28 '12 at 20:57
You need to enable password access in SSH on Cygwin. There are many, many walkthroughs on Google to see how that is done. – user3463 May 28 '12 at 23:09

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.