-
10-15-2010, 08:34 AM #1
openssh not working after limera1n JB. Iphone 4
Is anyone else having problems to ssh in there phone4 running 4.1?
It seems that that everytime i need to ssh to the phone i need to reinstall openssh from cydia and only then it works.
After a while if try to connect it, i get error that "server closed connection unexpectedly".
i even restored the phone and JB all over again but still the same issue
-
10-15-2010, 03:42 PM #2
This is a silly question, but have you installed openSSH on your phone and winSCP on your computer (if you are using PC)?
Try again keeping the wifi data page open (the one in settings). I find that usually helps.
-
10-15-2010, 04:02 PM #3Super Moderator
- Join Date
- Feb 2008
- Location
- Vancouver, Canada
- Posts
- 13,014
- Thanks
- 67
- Thanked 2,658 Times in 2,549 Posts
Have you installed mobileterminal and generated the keys yet ?

-
10-19-2010, 07:16 AM #4
hehe,, ofcourse i've installen openssh on the phone....im not new at this, been doing it for years.
@yeow202, you dont need to generate keys with mobile terminal. the ssh client on the pc will get the keys generated when it tries to connect... i think i have figured it out. Still not sure what was causing the problem..Thanks.
-
10-19-2010, 09:45 AM #5iPhone? More like MyPhone
- Join Date
- Jul 2010
- Location
- Manchester
- Posts
- 273
- Thanks
- 87
- Thanked 54 Times in 32 Posts
I have a few problems with SSH. It connects normal on first attempt and works for a while, but if I stop using it for more than 5 mins (if I stop moving files etc) then it loses connection, and I have to close and reopen WinSCP. I'm not sure if this is due to using insomnia or if it's just a problem with OpenSSH. It's not much of a big deal, just annoying

iPad 2 16GB Wifi iOS 5.0.1 - Absinthe
iPhone 4S 16GB iOS 5.0.1 - Absinthe
-
10-21-2010, 12:57 PM #6
yeh, its kind of the same problem for me, but in my case when it stops working, i have to reinstall openssh to make it work again...its like the ssh daemon, stops and is never restarted again. Not even after a reboot...
-
10-21-2010, 01:26 PM #7Super Moderator
- Join Date
- Feb 2008
- Location
- Vancouver, Canada
- Posts
- 13,014
- Thanks
- 67
- Thanked 2,658 Times in 2,549 Posts
-
10-26-2010, 08:43 AM #8
I'm having the same problem. Need to reinstall OpenSSH each time I need to SSH in again. Like the OP said: not new to this. I've had a jailbroken iPhone since the original, and 4.1 on the iPhone 4 is working oddly.
I've figured out that the service is in fact running (kind of). I am able to telnet to port 22 and it's alive, but terminates immediately. Such a pain.



LinkBack URL
About LinkBacks
Reply With Quote
