Trouble SSH'ing into iPhone4 after JB

devros

macrumors newbie
Original poster
Jan 27, 2008
6
0
I have the phone all jailbroken and have open-ssh installed. I can telnet to port 22 on the iphone's IP address, but I keep getting timeout errors trying to connect. any suggestions?

thanks,

-dev
 

nebo1ss

macrumors 68030
Jun 2, 2010
2,772
1,461
I have the phone all jailbroken and have open-ssh installed. I can telnet to port 22 on the iphone's IP address, but I keep getting timeout errors trying to connect. any suggestions?

thanks,

-dev
check in Cydia under manage packages to see if it is really installed. I was having a similar problem this morning and had to run the install three times before it worked. Never saw it under manage packages until the third install.
 

devros

macrumors newbie
Original poster
Jan 27, 2008
6
0
I know that it is installed, as I get a reply when telnetting to port 22 when the SSH toggle is on, but get no reply when it is off.
 

devros

macrumors newbie
Original poster
Jan 27, 2008
6
0
no luck. having the same problems, both with a 4.0.1 iPhone 4 and a 3.2.1 iPad, both just JB'ed with the latest jailbreakme method. I can see both devices on my network, but neither one will respond to a ping request.
 

devros

macrumors newbie
Original poster
Jan 27, 2008
6
0
another update. now it works on the iPad. still nothing on the iPhone. Can anyone confirm they can ssh into a iPhone 4?
 

Niclariv

macrumors newbie
Dec 17, 2009
5
1
Should I be worried?

Hmm so I installed openssh but can't get in to it with cyberduck.. Is there a chance apple has changed the root password from alpine to something else?

Should we be worried about the ikee virus or anything else coming back since if i can't ssh in, i can't install the new beta of terminal, and i can't change the password to my own to guard against that virus?
 

Niclariv

macrumors newbie
Dec 17, 2009
5
1
haha nevermind, excellent.. I ran Rock since installing SSH and it automatically gave me the option to change the password. Rock on.
 

TheConfuzed1

macrumors 6502a
Jun 4, 2003
925
0
Hmm so I installed openssh but can't get in to it with cyberduck.. Is there a chance apple has changed the root password from alpine to something else?

Should we be worried about the ikee virus or anything else coming back since if i can't ssh in, i can't install the new beta of terminal, and i can't change the password to my own to guard against that virus?
You can use RockApp to change your password. Download it from Cydia.
 

bobbytallant

macrumors 6502
Apr 6, 2010
374
38
Guys also having trouble with OpenSSH.

Am I being really dense here or do I remember that there should be an actual app for this after install with the fish icon etc and then you can activate it to be open to be ssh'ed?

I just install it from Cydia, it says its installed in my packages and I cannot see an icon for it in on the home screen??? I have literally installed it and reinstalled like 20 times and can see nothing...

Am I missing something here - is there even an app for it or is it just permanently open to be ssh'ed without the need for an app/icon/activation lol??

I know I had this last year on my 3GS...? I'm using iPhone 4 on 4.1 :confused:
 

moussekateer

macrumors 6502a
May 12, 2009
733
0
Guys also having trouble with OpenSSH.

Am I being really dense here or do I remember that there should be an actual app for this after install with the fish icon etc and then you can activate it to be open to be ssh'ed?

I just install it from Cydia, it says its installed in my packages and I cannot see an icon for it in on the home screen??? I have literally installed it and reinstalled like 20 times and can see nothing...

Am I missing something here - is there even an app for it or is it just permanently open to be ssh'ed without the need for an app/icon/activation lol??

I know I had this last year on my 3GS...? I'm using iPhone 4 on 4.1 :confused:
It doesn't have an icon and it's on by default. You can use the toggle in sbsettings to toggle it on and off.
 

doctapeppa

macrumors 6502
Jun 15, 2008
289
0
I can SSH into my phone after I install OpenSSH one time but after I close the connection I cannot SSH into it again unless I reinstall OpenSSH. Resetting network settings doesn't work. Clearing my keys on my mac doesn't work either. The error I get on the terminal is "remote server closed the connection" or something like that

Iphone 4 on 4.0
 

germanguy

macrumors regular
Sep 15, 2008
172
7
Same problem here. Password not accepted (alpine). I assume "username" is blank, correct?
 

RyanOnymous

macrumors newbie
Aug 7, 2010
1
0
Having issues with SSH on IP4.0.1 as well. Had a touch on 3.1 that I was able to use finder's Connect to Server command and mount in Finder, doesn't work on the 4. SBSettings tells me OpenSSH is on. WiFi Web Server options in iFile tells me the device will receive on IP 10.0.1:10000. I can SSH into it in Terminal too, i just don't know how to move a file to it that way. All I want to do is move the Jailbreakme .pdf warning patch to it!
 

ellsworth

macrumors 6502a
Jun 13, 2007
759
87
When I ssh into my iphone 4 with Fugu I get: " @ WARNING: REMOTE HOST IDENTIFICATION HAS BEEN CHANGED! @" Bummer
 

blazinz

macrumors regular
Jun 15, 2010
155
0
where do you go for sbsettings.. i thought it had an icon:confused:, i cant seem to find it, n ive removed and installed it few times and cant find it anywhere..:eek:
 

nebo1ss

macrumors 68030
Jun 2, 2010
2,772
1,461
Having issues with SSH on IP4.0.1 as well. Had a touch on 3.1 that I was able to use finder's Connect to Server command and mount in Finder, doesn't work on the 4. SBSettings tells me OpenSSH is on. WiFi Web Server options in iFile tells me the device will receive on IP 10.0.1:10000. I can SSH into it in Terminal too, i just don't know how to move a file to it that way. All I want to do is move the Jailbreakme .pdf warning patch to it!
It might be that you typed it wrong but that is not an example of an ip address you provided it should look like this xx.xx.xx.xx:yy where YY is the port number.
 

nebo1ss

macrumors 68030
Jun 2, 2010
2,772
1,461
Hmm so I installed openssh but can't get in to it with cyberduck.. Is there a chance apple has changed the root password from alpine to something else?

Should we be worried about the ikee virus or anything else coming back since if i can't ssh in, i can't install the new beta of terminal, and i can't change the password to my own to guard against that virus?
You don't need openssh to install terminal go to CYDIA , manage, sources, edit, add then add source http://cydia.xsellize.com/ and search for "mobile terminal ios4" install it and you are done.
 

ellegi

macrumors newbie
Aug 10, 2010
1
0
I can SSH into my phone after I install OpenSSH one time but after I close the connection I cannot SSH into it again unless I reinstall OpenSSH. Resetting network settings doesn't work. Clearing my keys on my mac doesn't work either. The error I get on the terminal is "remote server closed the connection" or something like that

Iphone 4 on 4.0
reinstall ssh through cydia, enter in ssh and verify if is present the file /bin/poc-bbot

if is present your iphone could be infected by worm ikee that kill your ssh at regular interval.

Let me know if this is your problem. I had the same problem with iphone4 and with removal procedure seems to work fine.
 

Similar threads

Replies
10
Views
827
  • Raft3rman
0
Replies
0
Views
287
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.