What's new
Apple iPad Forum 🍎

Welcome to the Apple iPad Forum, your one stop source for all things iPad. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

OpenSSH problem

Greenback

iPF Noob
Joined
Jan 11, 2012
Messages
13
Reaction score
0
Location
Leeds, UK
Hi all, I have a problem with openSSH that has got me stumped.

I'm running a 5.0.1 jail broken ipad2. The only apps I've installed following jailbreak are (first) SBSettings and (next) OpenSSH. When I first installed OpenSSH I was able to connect and change the passwords for the root and mobile users over the wireless network, but once I reboot the iPad, It will not accept connections from either WinSCP or puTTY. I've tried enabling/disabling the toggle in SBSettings but to no avail. The only way I can get it to respond again is by reinstalling OpenSSH from Cydia, but you know that on the next reboot I'm going to get the old 'the server has terminated the session unexpectedly' message as soon as I try to log in.

Does anyone have any similar experiences? I can't imagine I'm the only person suffering this. Surely I shouldn't have to connect the USB to ssh to the iPad every time?
 
OP
G

Greenback

iPF Noob
Joined
Jan 11, 2012
Messages
13
Reaction score
0
Location
Leeds, UK
Update: I it turns out that i had somehow contracted a variant on the ikee virus, which was disabling my sshd server on device startup. I proved this beyond doubt by using WinSCP to get a copy of poc-bot from the device and looking at it in Notepad++. I can't really understand where I could have got it, my best guess is that someone at work has an infected iPhone that was also on the wireless network.... On reflection I didn't bother to update the ssh password for a couple of days so I must've fallen foul of it then.

Once I realised this was my problem, I decided to reset/erase content and settings - but that didn't work because my iPad is jail broken. I decided to go down the manual route instead. A word of warning to other iPad users though; apt-get wasn't recognised on my device when I tried to reinstall cydia. Instead I deleted /user/libexec/startup and /System/Library/LaunchDaemons/com.saurik.Cydia.Startup.plist and then used the Cydia front end to reinstall itself and regenerate the files I had deleted.

My ssh server is now working as it should and I'm hoping the device is ikee-free!
 

Mickey330

Administrator
Staff member
Joined
Aug 30, 2010
Messages
11,890
Reaction score
2,226
Location
Western NY state (USA)
Glad to hear that things have worked out for you.

Of course, you changed the root and mobile passwords right away this time, right? :)

Marilyn
 
OP
G

Greenback

iPF Noob
Joined
Jan 11, 2012
Messages
13
Reaction score
0
Location
Leeds, UK
Oh yes! I'll try to find out who has a jailbroken iPhone at work too. Someone there is probably carrying ikee and doesn't know it.
 

Most reactions

Latest posts

Top