Page 1 of 2 12 LastLast
Results 1 to 10 of 12
Discuss [OpenSSH][Solved] can't connect into my phone anymore at the Free Toolchain Software (Cydia App's) - Hackint0sh.org; hey guys, a couple weeks ago, i stopped being able to get into my phone ...
  1. #1
    Advanced Array

    Join Date
    Feb 2008
    Posts
    35
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default [OpenSSH][Solved] can't connect into my phone anymore

    hey guys, a couple weeks ago, i stopped being able to get into my phone via SSH.

    i use WINSCP, i keep getting a "Server unexpectedly closed network connetion." error. i get this both on my home network and the network @ my work.

    both used to work fine. please help me out, its rather annoying not being able to access it.

    thanx!!ALEX
    ~Alex

    Hardware
    2.1 Jailbroken 3G black 16gig/ unlocked 2.1 2G 8gig
    new 13" macbook 4gigs of ram



  2. #2
    Young Padawan Array duck9000's Avatar

    Join Date
    Sep 2007
    Location
    The Outer Rim
    Posts
    2,461
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    149

    Default

    Without more specific information, I'll do a restore. Good luck
    ** If you just want to support hackint0sh.org with a donation, please click here **.

  3. #3
    Former Bender
    Guest

    Default

    Your previous SSH connection ended uncorrectly and the host key is locked to it.

    Uninstall and reinstall OpenSSH.

    If after this, it doesn't work, use File Browser, Mobile Finder or Term VT100 to delete the ssh keys stored:

    In the phone:

    Code:
    /etc/ssh_host*
    And in your computer:

    Mac OS X >

    Code:
    ~/.ssh/known_hosts/
    Windows, the path might be different (In the registry or as a known_hosts file ) according to your SSH client

    Code:
    C:\ssh\.ssh\known_hosts
    (thread moved to the right section)
    Last edited by Former Bender; 06-21-2008 at 05:54 PM.

  4. #4
    Advanced Array

    Join Date
    Feb 2008
    Posts
    35
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    /\ thanx buddy! i'm gonna try that out!

    restore=fail, imho.
    ~Alex

    Hardware
    2.1 Jailbroken 3G black 16gig/ unlocked 2.1 2G 8gig
    new 13" macbook 4gigs of ram

  5. #5
    Advanced Array

    Join Date
    Feb 2008
    Posts
    35
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Quote Originally Posted by XianLi View Post
    Your previous SSH connection ended uncorrectly and the host key is locked to it.

    Uninstall and reinstall OpenSSH.
    hey thanx alot!!! i reinstalled it. restarted my phone and it all works now!!!

    i can't believe i didn't htink of somethign that simple. really showing how much i know haha!! like said thanx!

    now i can figure out my cybersaurus problems!!
    ~Alex

    Hardware
    2.1 Jailbroken 3G black 16gig/ unlocked 2.1 2G 8gig
    new 13" macbook 4gigs of ram


  6. #6
    Rookie Array

    Join Date
    Mar 2008
    Posts
    13
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    hey im having a similar problem my ssh wont work anymore..
    just that for me, i cant seem to get my ssh to turn on using boss prefs.
    i usually leave it off to save power then when i wanted to turn it on again, it wont,
    when i change the status from off to on, and restart boss prefs its still off =/

    also when i use terminal on my phone im unable to login to the system with
    username : root
    password : alpine

    any ideas?
    oh i cant putty to my phone or winscp either

  7. #7
    Former Bender
    Guest

    Default

    Follow the advice i gave to Alperovich, this might solve your issue as well.

  8. #8
    Rookie Array

    Join Date
    Mar 2008
    Posts
    13
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    i tried uninstalling and reinstalling openssh multiple times but it still won't work.
    maybe i should try uninstalling bossprefs and reinstalling it.
    how do i delete the host keys using terminal on my phone if i cant login to terminal on my phone?
    it keeps saying login incorrect.
    i didn't change the default password at all.
    and when i try to winscp or putty to my phone it says "server unexpectedly closed network connection"
    =(
    Last edited by iyLia; 06-28-2008 at 10:47 PM.

  9. #9
    Former Bender
    Guest

    Default

    Install the Installer Fix and SUID fix to make Terminal (Term-VT100) work.

    Also you can delete the keys from:

    your iPhone by using > MobileFinder, FileBrowser.
    your Windows PC > iPhone PC Suite, iPhoneBrowser.
    your OSX >Disk For iPhone (require MacFuse).

    They all connect to your phone by using USB instead of Wifi.

  10. #10
    Rookie Array

    Join Date
    Mar 2008
    Posts
    13
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    when i try installing the SUID fix it says
    "Error, Main script execution failed!"
    And using filebrowser on the iphone, browsing to /etc/ there is no ssh_host file there
    Last edited by iyLia; 06-29-2008 at 07:27 AM.


 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. [OpenSSH][Solved] Can't Connect and Keep it "on" in Bossprefs
    By riicky in forum Free Toolchain Software (Cydia App's)
    Replies: 6
    Last Post: 07-08-2008, 12:13 PM
  2. Can't connect to AFP or OpenSSH any more
    By motorollin in forum General
    Replies: 3
    Last Post: 02-17-2008, 12:25 PM
  3. [1.1.2 OTB][SOLVED] OpenSSH and WinSCP
    By DJ McG in forum Free Toolchain Software (Cydia App's)
    Replies: 7
    Last Post: 01-08-2008, 01:51 AM
  4. Replies: 7
    Last Post: 09-30-2007, 06:33 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Powered by vBulletin®
Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.
Search Engine Friendly URLs by vBSEO
(c) 2006-2012 Hackint0sh.org
All times are GMT +2. The time now is 02:01 AM.
twitter, follow us!