MacSSH can't connect to OpenSSH 3.4 sshd

  • Ramon Cahenzli

    Ramon Cahenzli - 2002-07-02

    I'm using OpenSSH 3.4's sshd with the following configuration:

    (Only those options that might be linked to the problem are listed.)

    Protocol 2,1
    RSAAuthentication yes
    PubkeyAuthentication yes
    AuthorizedKeysFile  %h/.ssh/authorized_keys
    Compression no
    PasswordAuthentication yes
    PermitEmptyPasswords no
    KeepAlive yes

    Users from Mac OS X and Windows can connect with no problems. MacSSH starts by displaying the login dialog. After entering username/password, a terminal window appears for half a second. The terminal window then closes without an error message or log entry.

    There is nothing in the server's /var/log/messages or /var/log/warn either. It's as if these users had never connected at all.

    I need to upgrade to OpenSSH 3.4 in order to keep my systems secure - I can't downgrade to 3.1, which is the last version I had. I've changed nothing about my server configuration except the Compression option. It's now turned off because the 2.2.x's kernel's mmap() doesn't support a feature that OpenSSH wants to use. I can't upgrade to a 2.4.x kernel, so I'm stuck there.

    • Chip Mefford

      Chip Mefford - 2002-07-02

      Check your compression settings on the MacSSH client.
      I had a lot of problems with lots of implementations of
      ssh when I moved my first machine to OpenSSH 3.4

    • Chip Mefford

      Chip Mefford - 2002-07-02

      I meant, disable compression on the MacSSH client, see
      if that works.

      • Ramon Cahenzli

        Ramon Cahenzli - 2002-07-03

        Thanks for the hint. Where would I do this? I went through the menus and preferences but couldn't find it anywhere :(

        I also noticed that when using NiftyTelnet SSH with the cipher set to 3DES, connecting works flawlessly. I found a message in MacSSH's log window after all. Something to the effect of "can't negotiate protocol".

    • Lawrence Terrill

      To change/disable compression, etc.:

      From  the FAVORITIES Menu, select Edit favorities...
      Select your connection and select the EDIT button
      Select the SSH2 tab, select the compression setting & Encryption.


Log in to post a comment.