Menu

#232 Connection not established to some hosts

v1.0 (example)
closed
nobody
None
1
2015-10-17
2014-07-29
sbzx
No

I am using PAC manager 4.5.4 on a fresh install of Ubuntu 14.04. It works fine for the most part but to some hosts (AIX VIO servers, if it matters) I cannot connect. It's a plain non-root SSH connection with password auth. Login message appears, user name and password are sent, I get the prompt but no input is accepted and Status is "PASSWORD:Sent (not shown)", the orange block goes back and forth for about 50 seconds and then I get disconnected. No error messages shown.

Regular AIX and Linux hosts are OK.

Discussion

  • David Torrejón Vaquerizas

    Hi!

    Easy: the "Command prompt" regular expression is not matching your AIX shell.
    Please, do a manual login, and send me a screenshot of the whole process (just to see how does the shell prompt looks like when you login).

    • David.
     
  • sbzx

    sbzx - 2014-07-30

    Hi David,

    That was quick! Thank you. I am using a custom prompt, never thought it could cause an issue :) I have changed it a little, now it works perfect.

    Old prompt: [padmin@vio1:/home/padmin]
    New prompt: [padmin@vio1:/home/padmin]$>

    Is there maybe a connection paramter somewhere I could set up so it recognises custom prompts?

    I am a total noob with PAC, but it's excellent so far and a great help. Thanks for the amazing work.

     
  • David Torrejón Vaquerizas

    Yep!

    You can configure GLOBAL prompts and PER CONNECTIONS prompts! :)
    Simply edit your connection's details, and go to "Terminal options", and heck the "Use these personal options" to be able to modify those values.

    • David.
     
  • sbzx

    sbzx - 2014-07-30

    Oh, so obvious. It was greyed out and I missed it.
    Changed it, a marvellous piece of software :)

    Cheers.

     
  • David Torrejón Vaquerizas

    Thanks! :)

     
  • David Torrejón Vaquerizas

    • status: open --> closed
    • Priority: 5 --> 1
     
  • CDuv

    CDuv - 2015-10-17

    I have the exact same issue with v4.5.5.5-1~getdeb1 (on a Ubuntu 14.04): I get disconnected few seconds after connecting via SSH.

    (Please tell me if I should open another bug report)

    Here is the output for SystemFailing (where I get the the prompt but get disconnected):
    ----------8<----------
    CONNECTING WITH 'SystemFailing' (Thu Oct 15 19:07:04 2015) =->

    root@systemfailing.domain.tld's password:

    The programs included with the Debian GNU/Linux system are free software;
    the exact distribution terms for each program are described in the
    individual files in /usr/share/doc/*/copyright.

    Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
    permitted by applicable law.
    Last login: Thu Oct 15 19:04:31 2015 from 192.168.1.198

    (root@systemfailing)-(2015-10-15 19:07:04 CEST (+0200))
    (~)-(7 files, 146Kb):
    ----------8<----------

    Once the prompt is shown as above I still have the following in the "status bar":
    ----------8<----------
    Status: PASSWORD:Sent (not shown)
    ----------8<----------

    After some seconds I get disconnected:
    ----------8<----------
    [...]

    (root@systemfailing)-(2015-10-15 19:07:04 CEST (+0200))
    (~)-(7 files, 146Kb):
    <-= DISCONNECTED (PRESS <ENTER> TO RECONNECT) (Thu Oct 15 19:07:44 2015)
    ----------8<----------

    The "odd" part is that this issue occurs just after upgrading from Debian 7 to Debian 8.

    Specifications for SystemFailing:
    Debian GNU/Linux 8.2 (jessie)
    uname -a: Linux systemfailing 3.2.0-4-amd64 #1 SMP Debian 3.2.68-1+deb7u5 x86_64 GNU/Linux
    openssh-server v1:6.7p1-5
    Shell: /bin/bash

    For comparison purpose, here is the output for SystemOk (where login works fine):
    ----------8<----------
    CONNECTING WITH 'systemok' (Thu Oct 15 19:09:25 2015) =->

    user@systemok.domain.tld's password:
    Linux systemok 3.2.0-4-amd64 #1 SMP Debian 3.2.68-1+deb7u4 x86_64

    The programs included with the Debian GNU/Linux system are free software;
    the exact distribution terms for each program are described in the
    individual files in /usr/share/doc/*/copyright.

    Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
    permitted by applicable law.
    Last login: Thu Oct 15 15:10:27 2015 from cc-dsk-0007.local

    (user@systemok)-(2015-10-15 19:09:28 CEST (+0200))
    (~)-(1 files, 176Kb):
    ----------8<----------

    Specifications for SystemOk:
    Debian GNU/Linux 7.9 (wheezy)
    uname -a: Linux systemok 3.2.0-4-amd64 #1 SMP Debian 3.2.68-1+deb7u4 x86_64 GNU/Linux
    openssh-server v1:6.0p1-4+deb7u2
    Shell: /bin/bash

    Please ask for more details if needed.

     

Log in to post a comment.