
andyh at hall
Dec 26, 2005, 5:23 PM
Post #1 of 1
(1029 views)
Permalink
|
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] Options: -l user Log in using this user name. <snip> # ssh -landyh 10.0.0.5 Password: Last login: Tue Dec 27 00:24:30 2005 from 10.0.0.3 <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 10.0.0.5; } console catsw { type exec; exec telnet 10.0.0.8; } 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
|