[Date Prev] [Date Index] [Date Next] [Thread Prev] [Thread Index] [Thread Next]

Problem with SSH console

Andy Hall andyh@hall.gl
Mon, 26 Dec 2005 17:23:44 -0800 (PST)

    Greetings.   I have just been installing Conserver 8.1.12 on a Linux host in order to use a mix of fitted serial ports and outbound connections to certain hosts.    Most of this is working as expected, but I am having difficulty using SSH.   Basically, conserver seems to be cycling with repeated retries of the SSH client.   I have tested the SSH client standalone and it works fine.   e.g.   # ssh -v
OpenSSH_3.6.1p2, SSH protocols 1.5/2.0, OpenSSL 0x0090702f
Usage: ssh [options] host [command]
  -l user     Log in using this user name.
    # ssh -landyh
Last login: Tue Dec 27 00:24:30 2005 from
<snip>     If I run ps -ax I can see the execution attempts of the SSH client, but these fail and a new one is spawned.    From the log     [Tue Dec 27 01:18:01 2005] conserver (19791): [myhost] exit(255)
[Tue Dec 27 01:18:01 2005] conserver (19791): [myhost] automatic reinitialization
[Tue Dec 27 01:18:02 2005] conserver (19791): [myhost] exit(255)
[Tue Dec 27 01:18:02 2005] conserver (19791): [myhost] automatic reinitialization

  Here is an extract from the conserver.cf file     console myhost {                                                          
        type exec;                                                          
        exec /usr/bin/ssh  -lsshuser;                   
console catsw {                                                     
        type exec;                                                
        exec telnet;                                      
    I imagine that this is not directly a conserver problem (or is it?).   Presumably the 255 is a return code from the SSH client?   I have tried the ssh command with and without the full pathname on the front and with and without -t as an option.     Any ideas?     thanks       /andy