+ Reply
Results 1 to 3 of 3
  1. #1
    Green Apple
    Join Date
    Dec 2008
    Location
    chicago
    Posts
    44
    Thanks
    15
    Thanked 1 Time in 1 Post

    Default Cant ssh on my iphone

    I did a ssh a while back, but now when i try it says...

    Server unexpectedly closed network connection....

    I click help and it takes me here...what does this mean and how do i get it to work???


    While Connecting
    If you get this error message while connecting to your server, it is most usually caused by the server not being able to run some process necessary to support your session. Possibilities are:

    Shell.
    Your account may not be allowed to start a shell at all. With some servers (like OpenSSH or Sun SSH), you may need to be allowed to start a shell, even if using SFTP protocol.
    Also some servers refuse to start a shell if your password has expired or your account was terminated.
    Some shells do not work with non-interactive sessions. The same it true for some configurations (or profiles used) for otherwise working shells. This commonly exhibits with SCP protocol with associated error message "Error skipping startup message. Your shell is probably incompatible with the application (BASH is recommended)." Try to force bash shell explicitly on SCP/Shell tab of Login dialog. Using SFTP protocol instead of SCP is another option.
    OpenSSH server may fail to start shell when chroot is configured, but not possible (e.g. due to permissions).
    SFTP server. Your account may not be able to start SFTP server binary (e.g. /bin/sftp-server) or the binary is not present on your server. Your SSH server may also lack the SFTP subsystem.

  2. #2
    Supreme Moderator StealthBravo's Avatar
    Join Date
    Jan 2008
    Location
    TX  Follow me @StealthBravo
    Posts
    32,492
    Thanks
    44
    Thanked 5,315 Times in 3,106 Posts

    It will say that when the phone goes into sleep mode in the middle of ssh session.

  3. The Following User Says Thank You to StealthBravo For This Useful Post:

    rickyscivic (03-29-2009)

  4. #3
    Green Apple
    Join Date
    Dec 2008
    Location
    chicago
    Posts
    44
    Thanks
    15
    Thanked 1 Time in 1 Post
    it said that before i could even connect...By the way i fixed it by restoring my phone and then it worked for some odd reason. Thanks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts