From robert.karl.berger@gmail.com Fri Jan 4 10:16:07 2013 Received: from mail-la0-f45.google.com (mail-la0-f45.google.com [209.85.215.45]) by underdog.stansell.org (8.14.5/8.14.5) with ESMTP id r04AG0sb008649 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=OK) for ; Fri, 4 Jan 2013 10:16:07 GMT Received: by mail-la0-f45.google.com with SMTP id ep20so9505160lab.32 for ; Fri, 04 Jan 2013 02:15:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=WjCHFL7bsKi9UkpicsezUzogJCiykLffDjhkMn+p8lY=; b=BCJad0dzO22MLWRDoNlddiG7wTxL4yvP2ptWBNvGnce0i8O98XoBwRGtspUULy9STa 8SkUpIHSZbgTD5AvfPGZbqrNnBBw8H03gbSD5E/6ELcGgYS5QhZVbodxV+yux3h4pWdk 3w9I/Q2nW/uLkXN4laJjNebFfzr//eFuVcBH13uvrv1/7hq1l27fTFclUXWUZh92eNrO H2U6XLitHCCepVPLyYQdzgvO6Ln8QYrOztcaZun5Ogq/Bh86EV7bdR96ueTg5EaKhdwp m9IGbGn02jAfwQClsCSbKh6uEP8RwHja6+wmzW80CYIAeu0BeJL6UkasA74JZW4z7GBu YvNw== X-Received: by 10.152.111.72 with SMTP id ig8mr48907907lab.1.1357294559252; Fri, 04 Jan 2013 02:15:59 -0800 (PST) Received: from [192.168.44.136] (ppp005054156146.access.hol.gr. [5.54.156.146]) by mx.google.com with ESMTPS id v7sm17771978lbj.13.2013.01.04.02.15.57 (version=SSLv3 cipher=OTHER); Fri, 04 Jan 2013 02:15:58 -0800 (PST) Message-ID: <50E6ABDB.6070403@gmail.com> Date: Fri, 04 Jan 2013 12:15:55 +0200 From: Robert Berger User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: users@conserver.com Subject: conserver and ssh Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Score: -1.489 () BAYES_00,FREEMAIL_FROM,T_DKIM_INVALID X-Scanned-By: MIMEDefang 2.72 on 198.151.248.21 X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.12 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jan 2013 10:16:07 -0000 Hi, I try to create something like a central place to configure various things around conserver. First I just would like to have conserver to ssh to various machines, but I don't get a prompt. Here is what I do on Ubuntu 12.04 LTS student@vlab2-gateone:/etc/conserver$ cat /etc/services | grep CON #console 782/tcp CONSERVER_PORT # Conserver console 3109/tcp CONSERVER_PORT # Conserver student@vlab2-gateone:/etc/conserver$ cat /etc/hosts 127.0.0.1 localhost.vlab2 localhost #conserver console 127.0.1.1 vlab2-gateone vlab2-gateone.vlab2 192.168.2.132 console conserver # The following lines are desirable for IPv6 capable hosts ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters sudo /etc/init.d/conserver-server logfiles: root@vlab2-gateone:/var/log/conserver# cat server.log [Fri Jan 4 10:36:21 2013] conserver (23621): conserver.com version 8.1.18 [Fri Jan 4 10:36:21 2013] conserver (23621): started as `conservr' by `conservr' root@vlab2-gateone:/var/log/conserver# cat ssh.log [-- Console up -- Fri Jan 4 10:36:21 2013] student@vlab2-gateone:/etc/conserver$ cat conserver.cf default * { # The '&' character is substituted with the console name #logfile /var/consoles/&; logfile /var/log/conserver/&.log; # timestamps every hour with activity and break logging timestamp 1hab; # include the 'full' default include full; sslenabled yes; sslrequired yes; } console ssh { master 192.168.2.132; rw *; type exec; exec ssh 192.168.2.160; } ### define a group of users group sysadmin { users student; } ### list of clients we allow access * { allowed 192.168.2.0/24; trusted 127.0.0.1; } student@vlab2-gateone:/etc/conserver$ sudo cat conserver.passwd *any*:*passwd* student@vlab2-gateone:/etc/conserver$ cat server.conf OPTS='-p 3109 ' ASROOT= student@vlab2-gateone:/etc/conserver$ ldd /usr/sbin/conserver linux-gate.so.1 => (0x00a3d000) libutil.so.1 => /lib/i386-linux-gnu/libutil.so.1 (0x00948000) libcrypt.so.1 => /lib/i386-linux-gnu/libcrypt.so.1 (0x009f1000) libssl.so.1.0.0 => /lib/i386-linux-gnu/libssl.so.1.0.0 (0x001e8000) libcrypto.so.1.0.0 => /lib/i386-linux-gnu/libcrypto.so.1.0.0 (0x006a4000) libwrap.so.0 => /lib/i386-linux-gnu/libwrap.so.0 (0x00f48000) libpam.so.0 => /lib/i386-linux-gnu/libpam.so.0 (0x00c0d000) libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0x0023e000) libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0x001a3000) libz.so.1 => /lib/i386-linux-gnu/libz.so.1 (0x00110000) libnsl.so.1 => /lib/i386-linux-gnu/libnsl.so.1 (0x00eb2000) /lib/ld-linux.so.2 (0x008a5000) student@vlab2-gateone:/etc/conserver$ console -D -p 3109 ssh console: DEBUG: [cutil.c:2263] ProbeInterfaces(): ifc_len==64 max_count==2 console: DEBUG: [cutil.c:2318] ProbeInterfaces(): name=lo addr=127.0.0.1 console: DEBUG: [cutil.c:2318] ProbeInterfaces(): name=eth0 addr=192.168.2.132 console: DEBUG: [cutil.c:355] AllocString(): 0x91240d8 created string #3 console: DEBUG: [cutil.c:355] AllocString(): 0x9124178 created string #4 console: DEBUG: [cutil.c:355] AllocString(): 0x91241c0 created string #5 console: DEBUG: [console.c:2477] cmds[1] = call console: DEBUG: [console.c:2477] cmds[0] = attach console: DEBUG: [console.c:611] GetPort: hostname=console (console), ip=192.168.2.132, port=3109 console: DEBUG: [cutil.c:355] AllocString(): 0x9124818 created string #6 console: DEBUG: [cutil.c:355] AllocString(): 0x9124750 created string #7 console: DEBUG: [cutil.c:355] AllocString(): 0x9124768 created string #8 console: DEBUG: [cutil.c:355] AllocString(): 0x9124780 created string #9 console: DEBUG: [console.c:769] ReadReply: `ok^M^J' console: DEBUG: [cutil.c:355] AllocString(): 0x9124fe8 created string #10 console: DEBUG: [cutil.c:355] AllocString(): 0x9125000 created string #11 console: DEBUG: [cutil.c:355] AllocString(): 0x9125060 created string #12 console: DEBUG: [console.c:769] ReadReply: `encryption required^M^J' console: DEBUG: [cutil.c:329] DestroyString(): 0x9124818 string destroyed (count==11) console: encryption required console: DEBUG: [cutil.c:329] DestroyString(): 0x91241c0 string destroyed (count==10) console: DEBUG: [cutil.c:329] DestroyString(): 0x9125060 string destroyed (count==9) console: DEBUG: [cutil.c:329] DestroyString(): 0x9125000 string destroyed (count==8) console: DEBUG: [cutil.c:329] DestroyString(): 0x9124fe8 string destroyed (count==7) console: DEBUG: [cutil.c:329] DestroyString(): 0x9124780 string destroyed (count==6) console: DEBUG: [cutil.c:329] DestroyString(): 0x9124768 string destroyed (count==5) console: DEBUG: [cutil.c:329] DestroyString(): 0x9124750 string destroyed (count==4) console: DEBUG: [cutil.c:329] DestroyString(): 0x9124178 string destroyed (count==3) console: DEBUG: [cutil.c:329] DestroyString(): 0x91240d8 string destroyed (count==2) console: DEBUG: [cutil.c:329] DestroyString(): 0x9124020 string destroyed (count==1) console: DEBUG: [cutil.c:329] DestroyString(): 0x9124008 string destroyed (count==0) Please advise what I'm doing wrong. Regards, Robert From glance@acc.umu.se Fri Jan 4 10:53:58 2013 Received: from mail.acc.umu.se (mail.acc.umu.se [130.239.18.156]) by underdog.stansell.org (8.14.5/8.14.5) with ESMTP id r04Arpos009225 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 4 Jan 2013 10:53:58 GMT Received: from localhost (localhost [127.0.0.1]) by amavisd-new (Postfix) with ESMTP id D6996300 for ; Fri, 4 Jan 2013 11:53:49 +0100 (MET) X-Virus-Scanned: amavisd-new at acc.umu.se Received: by mail.acc.umu.se (Postfix, from userid 24471) id 3F27C2FF; Fri, 4 Jan 2013 11:53:49 +0100 (MET) Date: Fri, 4 Jan 2013 11:53:48 +0100 From: Anton Lundin To: users@conserver.com Subject: Re: conserver and ssh Message-ID: <20130104105348.GR7933@acc.umu.se> References: <50E6ABDB.6070403@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <50E6ABDB.6070403@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Score: -1.51 () BAYES_00,T_RP_MATCHES_RCVD X-Scanned-By: MIMEDefang 2.72 on 198.151.248.21 X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.12 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jan 2013 10:53:58 -0000 On 04 January, 2013 - Robert Berger wrote: > Hi, > > I try to create something like a central place to configure various > things around conserver. > > First I just would like to have conserver to ssh to various machines, > but I don't get a prompt. > > Here is what I do on Ubuntu 12.04 LTS > default * { > # The '&' character is substituted with the console name > #logfile /var/consoles/&; > logfile /var/log/conserver/&.log; > # timestamps every hour with activity and break logging > timestamp 1hab; > # include the 'full' default > include full; > sslenabled yes; > sslrequired yes; > } > > console ssh { > master 192.168.2.132; > rw *; > type exec; > exec ssh 192.168.2.160; > } The ssh exec'ed there won't have a local pty, so by default it won't allocate a remote pty. What you need is to add -tt to ssh to force it to allocate a remote pty. Also usefull for this type of debugging is to add some -v's to ssh-cmdline to see whats its actualy doing. //Anton -- Anton Lundin +46702-161604 From robert.karl.berger@gmail.com Fri Jan 4 12:18:02 2013 Received: from mail-bk0-f43.google.com (mail-bk0-f43.google.com [209.85.214.43]) by underdog.stansell.org (8.14.5/8.14.5) with ESMTP id r04CHsfg012015 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=OK) for ; Fri, 4 Jan 2013 12:18:01 GMT Received: by mail-bk0-f43.google.com with SMTP id jf20so7153228bkc.2 for ; Fri, 04 Jan 2013 04:17:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=WeI2tgqStFnWwSRZ2GlXV5CoFcJCVrbKRm7oETb6Qzs=; b=KubtxKUOFTk/iCsuucTfDEmdhpf4WfMpELaXAZaZkcfgPsi0w7exE5Iqg5xHpLYOw2 0A9tg8urLgZ/y/Jb7z1C2iTN9fmglM5dH9cop9M+hgvYEMAdpo4Gs6k5SfUiPb0mOiwC fWTZFYtj8pHxrTsOuLYbTIAxENJ361yCQVu/6iFNgOb7G2BtdAqp9o9isiGkdi0aJ36E IeABlu1r5yi6g9p6mai3NPo/atX+99uZVccp2H/JUyh+7/NEO9ZFhPQPeUqOU+r4aMSh k7rUiK6c7ySnJvJOeUZ+D6uR7tW9dlNqkSY/ywsz4ObUXOrIwudo4QzygXA+T11JOGg1 s1OA== X-Received: by 10.204.4.90 with SMTP id 26mr26450029bkq.76.1357301873584; Fri, 04 Jan 2013 04:17:53 -0800 (PST) Received: from [192.168.44.136] (ppp005054156146.access.hol.gr. [5.54.156.146]) by mx.google.com with ESMTPS id q22sm36521280bkv.16.2013.01.04.04.17.51 (version=SSLv3 cipher=OTHER); Fri, 04 Jan 2013 04:17:52 -0800 (PST) Message-ID: <50E6C86D.7090205@gmail.com> Date: Fri, 04 Jan 2013 14:17:49 +0200 From: Robert Berger User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Anton Lundin Subject: Re: conserver and ssh References: <50E6ABDB.6070403@gmail.com> <20130104105348.GR7933@acc.umu.se> In-Reply-To: <20130104105348.GR7933@acc.umu.se> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Score: -1.489 () BAYES_00,FREEMAIL_FROM,T_DKIM_INVALID X-Scanned-By: MIMEDefang 2.72 on 198.151.248.21 Cc: users@conserver.com X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.12 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jan 2013 12:18:02 -0000 Hi Anton, On 01/04/2013 12:53 PM, Anton Lundin wrote: > On 04 January, 2013 - Robert Berger wrote: > > > > The ssh exec'ed there won't have a local pty, so by default it won't > allocate a remote pty. What you need is to add -tt to ssh to force it to > allocate a remote pty. Also usefull for this type of debugging is to add > some -v's to ssh-cmdline to see whats its actualy doing. As you suggested I did the following: console ssh { master 192.168.2.132; rw *; type exec; exec ssh -vvv -tt 192.168.2.160; } now ssh.log shows: [-- Console up -- Fri Jan 4 14:09:16 2013] OpenSSH_5.9p1 Debian-5ubuntu1, OpenSSL 1.0.1 14 Mar 2012 debug1: Reading configuration data /etc/ssh/ssh_config debug1: /etc/ssh/ssh_config line 19: Applying options for * debug2: ssh_connect: needpriv 0 debug1: Connecting to 192.168.2.160 [192.168.2.160] port 22. debug1: Connection established. debug1: SELinux support disabled Could not create directory '/etc/conserver/.ssh'. debug1: identity file /etc/conserver/.ssh/id_rsa type -1 debug1: identity file /etc/conserver/.ssh/id_rsa-cert type -1 debug1: identity file /etc/conserver/.ssh/id_dsa type -1 debug1: identity file /etc/conserver/.ssh/id_dsa-cert type -1 debug1: identity file /etc/conserver/.ssh/id_ecdsa type -1 debug1: identity file /etc/conserver/.ssh/id_ecdsa-cert type -1 debug1: Remote protocol version 2.0, remote software version OpenSSH_5.9p1 Debian-5ubuntu1 debug1: match: OpenSSH_5.9p1 Debian-5ubuntu1 pat OpenSSH* debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_5.9p1 Debian-5ubuntu1 debug2: fd 3 setting O_NONBLOCK debug1: SSH2_MSG_KEXINIT sent debug1: SSH2_MSG_KEXINIT received debug2: kex_parse_kexinit: ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman -group14-sha1,diffie-hellman-group1-sha1 debug2: kex_parse_kexinit: ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,ssh-rsa-cert-v01@ope nssh.com,ssh-dss-cert-v01@openssh.com,ssh-rsa-cert-v00@openssh.com,ssh-dss-cert-v00@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-rsa,ssh-ds s debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@ lysator.liu.se debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@ lysator.liu.se debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-sha2-256,hmac-sha2-256-96,hmac-sha2-512,hmac-sha2-512-96,hmac-ripemd160,hmac-ripemd160@openssh.com, hmac-sha1-96,hmac-md5-96 debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-sha2-256,hmac-sha2-256-96,hmac-sha2-512,hmac-sha2-512-96,hmac-ripemd160,hmac-ripemd160@openssh.com, hmac-sha1-96,hmac-md5-96 debug2: kex_parse_kexinit: none,zlib@openssh.com,zlib debug2: kex_parse_kexinit: none,zlib@openssh.com,zlib debug2: kex_parse_kexinit: debug2: kex_parse_kexinit: debug2: kex_parse_kexinit: first_kex_follows 0 debug2: kex_parse_kexinit: reserved 0 debug2: kex_parse_kexinit: ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman -group14-sha1,diffie-hellman-group1-sha1 debug2: kex_parse_kexinit: ssh-rsa,ssh-dss,ecdsa-sha2-nistp256 debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@ lysator.liu.se debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-sha2-256,hmac-sha2-256-96,hmac-sha2-512,hmac-sha2-512-96,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96 debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-sha2-256,hmac-sha2-256-96,hmac-sha2-512,hmac-sha2-512-96,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96 debug2: kex_parse_kexinit: none,zlib@openssh.com,zlib debug2: kex_parse_kexinit: none,zlib@openssh.com,zlib debug2: kex_parse_kexinit: debug2: kex_parse_kexinit: debug2: kex_parse_kexinit: first_kex_follows 0 debug2: kex_parse_kexinit: reserved 0 debug2: kex_parse_kexinit: ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1 debug2: kex_parse_kexinit: ssh-rsa,ssh-dss,ecdsa-sha2-nistp256 debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-sha2-256,hmac-sha2-256-96,hmac-sha2-512,hmac-sha2-512-96,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96 debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-sha2-256,hmac-sha2-256-96,hmac-sha2-512,hmac-sha2-512-96,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96 debug2: kex_parse_kexinit: none,zlib@openssh.com debug2: kex_parse_kexinit: none,zlib@openssh.com debug2: kex_parse_kexinit: debug2: kex_parse_kexinit: debug2: kex_parse_kexinit: first_kex_follows 0 debug2: kex_parse_kexinit: reserved 0 debug2: mac_setup: found hmac-md5 debug1: kex: server->client aes128-ctr hmac-md5 none debug2: mac_setup: found hmac-md5 debug1: kex: client->server aes128-ctr hmac-md5 none debug1: sending SSH2_MSG_KEX_ECDH_INIT debug1: expecting SSH2_MSG_KEX_ECDH_REPLY debug1: Server host key: ECDSA a1:64:63:58:4c:a1:71:f9:86:ec:f7:be:f0:06:57:62 The authenticity of host '192.168.2.160 (192.168.2.160)' can't be established. ECDSA key fingerprint is a1:64:63:58:4c:a1:71:f9:86:ec:f7:be:f0:06:57:62. Are you sure you want to continue connecting (yes/no)? and I still get: student@vlab2-gateone:/etc/conserver$ console -D -p 3109 ssh console: DEBUG: [cutil.c:2263] ProbeInterfaces(): ifc_len==64 max_count==2 console: DEBUG: [cutil.c:2318] ProbeInterfaces(): name=lo addr=127.0.0.1 console: DEBUG: [cutil.c:2318] ProbeInterfaces(): name=eth0 addr=192.168.2.132 console: DEBUG: [cutil.c:355] AllocString(): 0x97720d8 created string #3 console: DEBUG: [cutil.c:355] AllocString(): 0x9772178 created string #4 console: DEBUG: [cutil.c:355] AllocString(): 0x97721c0 created string #5 console: DEBUG: [console.c:2477] cmds[1] = call console: DEBUG: [console.c:2477] cmds[0] = attach console: DEBUG: [console.c:611] GetPort: hostname=console (console), ip=192.168.2.132, port=3109 console: DEBUG: [cutil.c:355] AllocString(): 0x9772818 created string #6 console: DEBUG: [cutil.c:355] AllocString(): 0x9772750 created string #7 console: DEBUG: [cutil.c:355] AllocString(): 0x9772768 created string #8 console: DEBUG: [cutil.c:355] AllocString(): 0x9772780 created string #9 console: DEBUG: [console.c:769] ReadReply: `ok^M^J' console: DEBUG: [cutil.c:355] AllocString(): 0x9772fe8 created string #10 console: DEBUG: [cutil.c:355] AllocString(): 0x9773000 created string #11 console: DEBUG: [cutil.c:355] AllocString(): 0x9773060 created string #12 console: DEBUG: [console.c:769] ReadReply: `encryption required^M^J' console: DEBUG: [cutil.c:329] DestroyString(): 0x9772818 string destroyed (count==11) console: encryption required console: DEBUG: [cutil.c:329] DestroyString(): 0x97721c0 string destroyed (count==10) console: DEBUG: [cutil.c:329] DestroyString(): 0x9773060 string destroyed (count==9) console: DEBUG: [cutil.c:329] DestroyString(): 0x9773000 string destroyed (count==8) console: DEBUG: [cutil.c:329] DestroyString(): 0x9772fe8 string destroyed (count==7) console: DEBUG: [cutil.c:329] DestroyString(): 0x9772780 string destroyed (count==6) console: DEBUG: [cutil.c:329] DestroyString(): 0x9772768 string destroyed (count==5) console: DEBUG: [cutil.c:329] DestroyString(): 0x9772750 string destroyed (count==4) console: DEBUG: [cutil.c:329] DestroyString(): 0x9772178 string destroyed (count==3) console: DEBUG: [cutil.c:329] DestroyString(): 0x97720d8 string destroyed (count==2) console: DEBUG: [cutil.c:329] DestroyString(): 0x9772020 string destroyed (count==1) console: DEBUG: [cutil.c:329] DestroyString(): 0x9772008 string destroyed (count==0) student@vlab2-gateone:/etc/conserver$ Maybe the client needs to be rebuilt with crypto support? student@vlab2-gateone:/etc/conserver$ ldd /usr/local/bin/console linux-gate.so.1 => (0x00902000) libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0x00e34000) /lib/ld-linux.so.2 (0x00a63000) E ignored - encryption not compiled into code Can I get away without encryption support? > > //Anton > Regards, Robert From cfowler@outpostsentinel.com Fri Jan 4 16:21:06 2013 Received: from support.opsdc.com (support.opsdc.com [65.254.219.9]) by underdog.stansell.org (8.14.5/8.14.5) with ESMTP id r04GKsrL018732 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 4 Jan 2013 16:21:06 GMT Received: from [192.168.100.2] ([192.168.100.2]) (authenticated bits=0) by support.opsdc.com (8.13.8/8.13.8) with ESMTP id r04GKB2h000443; Fri, 4 Jan 2013 11:20:11 -0500 Message-ID: <50E70149.5090904@outpostsentinel.com> Date: Fri, 04 Jan 2013 11:20:25 -0500 From: Chris Fowler User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Robert Berger , users@conserver.com Subject: Re: conserver and ssh References: <50E6ABDB.6070403@gmail.com> <20130104105348.GR7933@acc.umu.se> <50E6C86D.7090205@gmail.com> In-Reply-To: <50E6C86D.7090205@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -1.5 () BAYES_00 X-Scanned-By: MIMEDefang 2.72 on 198.151.248.21 X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.12 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jan 2013 16:21:06 -0000 Not having a local tty could be a problem. What I've done was create a wrapper that executes the cmd argument. It is a C program and an example is found if Steven's APUE book. So my exec line looks like this exec ptymaker ssh ..... ; If you are interested int his method I'll put the APUE example in my Dropbox public and share it. Chris From steven.m.statler@intel.com Fri Jan 4 16:58:52 2013 Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by underdog.stansell.org (8.14.5/8.14.5) with ESMTP id r04GwlGP019406 for ; Fri, 4 Jan 2013 16:58:52 GMT Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga102.fm.intel.com with ESMTP; 04 Jan 2013 08:58:46 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.84,411,1355126400"; d="p7m'217?scan'217,208,217";a="272917452" Received: from orsmsx104.amr.corp.intel.com ([10.22.225.131]) by fmsmga002.fm.intel.com with ESMTP; 04 Jan 2013 08:58:46 -0800 Received: from orsmsx101.amr.corp.intel.com ([169.254.8.237]) by ORSMSX104.amr.corp.intel.com ([169.254.3.133]) with mapi id 14.01.0355.002; Fri, 4 Jan 2013 08:58:45 -0800 From: "Statler, Steven M" To: "users@conserver.com" Subject: unsubscribe Thread-Topic: unsubscribe Thread-Index: Ac3qnMDyC8uRVaYYR7yekigQeIZKdA== Date: Fri, 4 Jan 2013 16:58:44 +0000 Message-ID: <07FE637667887A4FB55D5A1275A54DBF3FDD3798@ORSMSX101.amr.corp.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: yes X-MS-TNEF-Correlator: x-originating-ip: [10.22.254.138] Content-Type: application/pkcs7-mime; smime-type=signed-data; name="smime.p7m" Content-Disposition: attachment; filename="smime.p7m" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-Spam-Score: -0.309 () BAYES_05,TVD_SPACE_RATIO,T_RP_MATCHES_RCVD X-Scanned-By: MIMEDefang 2.72 on 198.151.248.21 X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.12 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jan 2013 16:58:53 -0000 MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAaCAJIAEgghVQ29u dGVudC1UeXBlOiBtdWx0aXBhcnQvYWx0ZXJuYXRpdmU7DQoJYm91bmRh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Ib3DQEJEAILMWagZDBWMQswCQYDVQQGEwJVUzEa MBgGA1UEChMRSW50ZWwgQ29ycG9yYXRpb24xKzApBgNVBAMTIkludGVsIEV4dGVybmFsIEJhc2lj IElzc3VpbmcgQ0EgM0ECCjtk/8wAAQAAhT8wgasGCSqGSIb3DQEJDzGBnTCBmjALBglghkgBZQME ASowCwYJYIZIAWUDBAEWMAoGCCqGSIb3DQMHMAsGCWCGSAFlAwQBAjAOBggqhkiG9w0DAgICAIAw BwYFKw4DAgcwDQYIKoZIhvcNAwICAUAwDQYIKoZIhvcNAwICASgwBwYFKw4DAhowCwYJYIZIAWUD BAIDMAsGCWCGSAFlAwQCAjALBglghkgBZQMEAgEwDQYJKoZIhvcNAQEBBQAEggEAjuaLJFwLVzS5 eWY+p50VuI3F83PzRrCkXR3omf76ufQSm94tZ3pS/8onhcGo4W3e4dDKJhOHH+DqX0X2Op/GDvab G8GiErM524TutaDP5S4z3hv/IfworrrkUwM3U5hmbxMqJsD7YIJBYpoTlmQzvDZdDEmTUl+2Ud83 MKEKDE6I3Wf27l/X4CfAE6Eq2RKAvH4SS46Hu7OSMWS1/Ov1e8kq9kQuWULrVCjoGI7OFCPNpITZ I1tE4G1tbb4OOlnXWuqqMzTqmjxctAl/k8t3u9DmjyNtu+COLaIyQJeNWLqvhh9bqyR1EXm+7qGN dn2POEDyLinfHJOtkUbNsAAUqwAAAAAAAA== From robert.karl.berger@gmail.com Fri Jan 4 17:14:23 2013 Received: from mail-bk0-f49.google.com (mail-bk0-f49.google.com [209.85.214.49]) by underdog.stansell.org (8.14.5/8.14.5) with ESMTP id r04HEFsF020430 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=OK) for ; Fri, 4 Jan 2013 17:14:22 GMT Received: by mail-bk0-f49.google.com with SMTP id jm19so7481152bkc.36 for ; Fri, 04 Jan 2013 09:14:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=FhOdx0jOeb0eG9VuJvHNgSpODdXPBKreln28VSiJmbg=; b=DnNquxNq4i+uHX7sE4h/Z1uVaINRMf9mFrKLCSMTnaG9vzcA8TMgIXNfRsssNFOZnb AVZyD2Mt6JBBbPKJK7UTQAwK4hg9rHGyIvbw1PVbHV+Xtrj8Fme13sLWD4+2d2JxN7O1 nrs5z7f+qHt4ZhD2hFL84qcdrQ+2J7yHfvhLYnqnrh5AIA46yhOJPBbZfqP0H/ejl7xe 2R7CF4jxZpdpMYxvQziqI1iCj2p0nDnqJpZLBD8v+mg5GjG8p/MtjIrt/CiYGnWV3Zu4 bw83Ul6rkCoFlxPk3ayA7upzA6bl6VA/zfvR+fdF1MFfU18/qWe6fzc9+39aO9nKJ+ds YKQw== X-Received: by 10.204.147.135 with SMTP id l7mr26799748bkv.119.1357319654198; Fri, 04 Jan 2013 09:14:14 -0800 (PST) Received: from [192.168.44.136] (ppp005054156146.access.hol.gr. [5.54.156.146]) by mx.google.com with ESMTPS id u3sm37376248bkw.9.2013.01.04.09.14.12 (version=SSLv3 cipher=OTHER); Fri, 04 Jan 2013 09:14:13 -0800 (PST) Message-ID: <50E70DE1.9040603@gmail.com> Date: Fri, 04 Jan 2013 19:14:09 +0200 From: Robert Berger User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Chris Fowler Subject: Re: conserver and ssh References: <50E6ABDB.6070403@gmail.com> <20130104105348.GR7933@acc.umu.se> <50E6C86D.7090205@gmail.com> <50E70149.5090904@outpostsentinel.com> In-Reply-To: <50E70149.5090904@outpostsentinel.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Score: -1.489 () BAYES_00,FREEMAIL_FROM,T_DKIM_INVALID X-Scanned-By: MIMEDefang 2.72 on 198.151.248.21 Cc: users@conserver.com X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.12 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jan 2013 17:14:23 -0000 Hi Chris, On 01/04/2013 06:20 PM, Chris Fowler wrote: > Not having a local tty could be a problem. What I've done was create a > wrapper that executes the cmd argument. > > It is a C program and an example is found if Steven's APUE book. > > So my exec line looks like this > > exec ptymaker ssh ..... ; > > If you are interested int his method I'll put the APUE example in my > Dropbox public and share it. Yes of course I'm interested. Let me give it a try. > > Chris Regards, Robert From robert.karl.berger@gmail.com Fri Jan 4 17:21:51 2013 Received: from mail-bk0-f50.google.com (mail-bk0-f50.google.com [209.85.214.50]) by underdog.stansell.org (8.14.5/8.14.5) with ESMTP id r04HLhGe020634 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=OK) for ; Fri, 4 Jan 2013 17:21:50 GMT Received: by mail-bk0-f50.google.com with SMTP id jf3so7317581bkc.9 for ; Fri, 04 Jan 2013 09:21:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=MH9UikzOVh3UGveUJ5rGT5UmZ7hA/TikNvsieN6CUFY=; b=EOCWfH5jpFX4rR6HoGVFITEL4AB+gCccjs2rL6BTucCSF2TnHxfAm3OLMFQ/HiC21y l4LIUnhRnOO1sLchOEuqqnmKgQXyUtm6TS1n2AhWZu3x5cQJnSPrhGerUsmgkOZv/79S rWFRJy6Yr3zmCj4XXPLoPFFaI+oxxXF4EP/a1jAzcPbduHNRHisKdx0C47ZfqYXBAXtM YUsXeSiOzrUMiyONSv0ENILRjeIkW8XRUVbrM280B5994pzyYsOEsip795U+c5ze3pTZ tZGEVd9BazssFbPXi3CXmjcXp8rcVnN0hLgVZBk9Nk4k57J3vPg3UEmpTt9CrNduwVTR yuEw== X-Received: by 10.204.147.132 with SMTP id l4mr26741186bkv.20.1357320102405; Fri, 04 Jan 2013 09:21:42 -0800 (PST) Received: from [192.168.44.136] (ppp005054156146.access.hol.gr. [5.54.156.146]) by mx.google.com with ESMTPS id z5sm37415340bkv.11.2013.01.04.09.21.40 (version=SSLv3 cipher=OTHER); Fri, 04 Jan 2013 09:21:41 -0800 (PST) Message-ID: <50E70FA1.7090101@gmail.com> Date: Fri, 04 Jan 2013 19:21:37 +0200 From: Robert Berger User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 CC: users@conserver.com Subject: Re: conserver and ssh References: <50E6ABDB.6070403@gmail.com> <20130104105348.GR7933@acc.umu.se> <50E6C86D.7090205@gmail.com> <50E70149.5090904@outpostsentinel.com> In-Reply-To: <50E70149.5090904@outpostsentinel.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Score: -0.285 () BAYES_00,FREEMAIL_FROM,MISSING_HEADERS,T_DKIM_INVALID X-Scanned-By: MIMEDefang 2.72 on 198.151.248.21 X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.12 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jan 2013 17:21:51 -0000 Hi, I compiled console to have also crypto support and in the meantime that's how far I come: student@vlab2-gateone:/opt/conserver/conserver-8.1.18/console$ ./console -vvv -D -p 3109 ssh console: DEBUG: [cutil.c:2263] ProbeInterfaces(): ifc_len==64 max_count==2 console: DEBUG: [cutil.c:2318] ProbeInterfaces(): name=lo addr=127.0.0.1 console: interface address 127.0.0.1 (lo) console: DEBUG: [cutil.c:2318] ProbeInterfaces(): name=eth0 addr=192.168.2.132 console: interface address 192.168.2.132 (eth0) console: DEBUG: [cutil.c:355] AllocString(): 0x8d570f0 created string #3 console: DEBUG: [cutil.c:355] AllocString(): 0x8d57190 created string #4 console: DEBUG: [cutil.c:355] AllocString(): 0x8d571e8 created string #5 console: DEBUG: [console.c:2477] cmds[1] = call console: DEBUG: [console.c:2477] cmds[0] = attach console: DEBUG: [console.c:611] GetPort: hostname=console (console), ip=192.168.2.132, port=3109 console: DEBUG: [cutil.c:355] AllocString(): 0x8d64888 created string #6 console: DEBUG: [cutil.c:355] AllocString(): 0x8d64930 created string #7 console: DEBUG: [cutil.c:355] AllocString(): 0x8d648a0 created string #8 console: DEBUG: [cutil.c:355] AllocString(): 0x8d65d10 created string #9 console: DEBUG: [console.c:769] ReadReply: `ok^M^J' console: DEBUG: [cutil.c:355] AllocString(): 0x8d65d70 created string #10 console: DEBUG: [console.c:769] ReadReply: `ok^M^J' console: DEBUG: [console.c:146] About to SSL_connect() on fd 3 console: DEBUG: [console.c:154] SSL Connection: TLSv1/SSLv3 :: ADH-AES256-SHA console: DEBUG: [cutil.c:355] AllocString(): 0x8dbe398 created string #11 console: DEBUG: [cutil.c:355] AllocString(): 0x8d78698 created string #12 console: DEBUG: [console.c:769] ReadReply: `passwd? vlab2-gateone^M^J' console: DEBUG: [cutil.c:355] AllocString(): 0x8e0e170 created string #13 console: DEBUG: [cutil.c:355] AllocString(): 0x8d7aae8 created string #14 Enter student@vlab2-gateone's password: console: DEBUG: [console.c:769] ReadReply: `invalid password^M^J' console: invalid password console: DEBUG: [console.c:611] GetPort: hostname=console (console), ip=192.168.2.132, port=3109 console: DEBUG: [cutil.c:355] AllocString(): 0x8e0e290 created string #15 console: DEBUG: [console.c:769] ReadReply: `ok^M^J' console: DEBUG: [console.c:769] ReadReply: `ok^M^J' console: DEBUG: [console.c:146] About to SSL_connect() on fd 4 console: DEBUG: [console.c:154] SSL Connection: TLSv1/SSLv3 :: ADH-AES256-SHA console: DEBUG: [console.c:769] ReadReply: `passwd? vlab2-gateone^M^J' console: DEBUG: [cutil.c:355] AllocString(): 0x8d7a148 created string #16 Enter student@vlab2-gateone's password: console: DEBUG: [console.c:769] ReadReply: `invalid password^M^J' console: invalid password console: DEBUG: [console.c:611] GetPort: hostname=console (console), ip=192.168.2.132, port=3109 console: DEBUG: [cutil.c:355] AllocString(): 0x8eaef58 created string #17 console: DEBUG: [console.c:769] ReadReply: `ok^M^J' console: DEBUG: [console.c:769] ReadReply: `ok^M^J' console: DEBUG: [console.c:146] About to SSL_connect() on fd 5 console: DEBUG: [console.c:154] SSL Connection: TLSv1/SSLv3 :: ADH-AES256-SHA console: DEBUG: [console.c:769] ReadReply: `passwd? vlab2-gateone^M^J' console: DEBUG: [cutil.c:355] AllocString(): 0x8f4fc50 created string #18 Enter student@vlab2-gateone's password: console: DEBUG: [console.c:769] ReadReply: `invalid password^M^J' console: invalid password console: too many bad passwords for `console' console: DEBUG: [cutil.c:329] DestroyString(): 0x8eaef58 string destroyed (count==17) console: DEBUG: [cutil.c:329] DestroyString(): 0x8d571e8 string destroyed (count==16) console: DEBUG: [cutil.c:329] DestroyString(): 0x8f4fc50 string destroyed (count==15) console: DEBUG: [cutil.c:329] DestroyString(): 0x8d7a148 string destroyed (count==14) console: DEBUG: [cutil.c:329] DestroyString(): 0x8e0e290 string destroyed (count==13) console: DEBUG: [cutil.c:329] DestroyString(): 0x8d7aae8 string destroyed (count==12) console: DEBUG: [cutil.c:329] DestroyString(): 0x8e0e170 string destroyed (count==11) console: DEBUG: [cutil.c:329] DestroyString(): 0x8d78698 string destroyed (count==10) console: DEBUG: [cutil.c:329] DestroyString(): 0x8dbe398 string destroyed (count==9) console: DEBUG: [cutil.c:329] DestroyString(): 0x8d65d70 string destroyed (count==8) console: DEBUG: [cutil.c:329] DestroyString(): 0x8d65d10 string destroyed (count==7) console: DEBUG: [cutil.c:329] DestroyString(): 0x8d648a0 string destroyed (count==6) console: DEBUG: [cutil.c:329] DestroyString(): 0x8d64930 string destroyed (count==5) console: DEBUG: [cutil.c:329] DestroyString(): 0x8d64888 string destroyed (count==4) console: DEBUG: [cutil.c:329] DestroyString(): 0x8d57190 string destroyed (count==3) console: DEBUG: [cutil.c:329] DestroyString(): 0x8d570f0 string destroyed (count==2) console: DEBUG: [cutil.c:329] DestroyString(): 0x8d57020 string destroyed (count==1) console: DEBUG: [cutil.c:329] DestroyString(): 0x8d57008 string destroyed (count==0) cat /var/log/ssh.log [-- Console up -- Fri Jan 4 18:28:04 2013] OpenSSH_5.9p1 Debian-5ubuntu1, OpenSSL 1.0.1 14 Mar 2012 debug1: Reading configuration data /etc/ssh/ssh_config debug1: /etc/ssh/ssh_config line 19: Applying options for * debug1: Connecting to localhost [127.0.0.1] port 22. debug1: Connection established. debug1: identity file /etc/conserver/.ssh/id_rsa type -1 debug1: identity file /etc/conserver/.ssh/id_rsa-cert type -1 debug1: identity file /etc/conserver/.ssh/id_dsa type -1 debug1: identity file /etc/conserver/.ssh/id_dsa-cert type -1 debug1: identity file /etc/conserver/.ssh/id_ecdsa type -1 debug1: identity file /etc/conserver/.ssh/id_ecdsa-cert type -1 debug1: Remote protocol version 2.0, remote software version OpenSSH_5.9p1 Debian-5ubuntu1 debug1: match: OpenSSH_5.9p1 Debian-5ubuntu1 pat OpenSSH* debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_5.9p1 Debian-5ubuntu1 debug1: SSH2_MSG_KEXINIT sent debug1: SSH2_MSG_KEXINIT received debug1: kex: server->client aes128-ctr hmac-md5 none debug1: kex: client->server aes128-ctr hmac-md5 none debug1: sending SSH2_MSG_KEX_ECDH_INIT debug1: expecting SSH2_MSG_KEX_ECDH_REPLY debug1: Server host key: ECDSA 91:1f:32:6a:78:4b:96:d2:c3:54:8d:8b:c5:1e:eb:77 debug1: Host 'localhost' is known and matches the ECDSA host key. debug1: Found key in /etc/conserver/.ssh/known_hosts:2 debug1: ssh_ecdsa_verify: signature correct debug1: SSH2_MSG_NEWKEYS sent debug1: expecting SSH2_MSG_NEWKEYS debug1: SSH2_MSG_NEWKEYS received debug1: Roaming not allowed by server debug1: SSH2_MSG_SERVICE_REQUEST sent debug1: SSH2_MSG_SERVICE_ACCEPT received debug1: Authentications that can continue: publickey,password debug1: Next authentication method: publickey debug1: Trying private key: /etc/conserver/.ssh/id_rsa debug1: Trying private key: /etc/conserver/.ssh/id_dsa debug1: Trying private key: /etc/conserver/.ssh/id_ecdsa debug1: Next authentication method: password student@localhost's password: [-- Console down -- Fri Jan 4 18:29:09 2013] Regards, Robert From bryan@conserver.com Fri Jan 4 17:31:51 2013 Received: from [192.168.0.119] (c-98-248-230-102.hsd1.ca.comcast.net [98.248.230.102] (may be forged)) (authenticated bits=0) by underdog.stansell.org (8.14.5/8.14.5) with ESMTP id r04HVnUx020857 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for ; Fri, 4 Jan 2013 17:31:50 GMT Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Subject: Re: conserver and ssh From: Bryan Stansell In-Reply-To: <50E70FA1.7090101@gmail.com> Date: Fri, 4 Jan 2013 09:31:48 -0800 Message-Id: <44FB7FB8-2529-49AB-A232-8DF285615A4A@conserver.com> References: <50E6ABDB.6070403@gmail.com> <20130104105348.GR7933@acc.umu.se> <50E6C86D.7090205@gmail.com> <50E70149.5090904@outpostsentinel.com> <50E70FA1.7090101@gmail.com> To: users@conserver.com X-Mailer: Apple Mail (2.1499) X-Spam-Score: -0.272 () BAYES_00,RDNS_NONE X-Scanned-By: MIMEDefang 2.72 on 198.151.248.21 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by underdog.stansell.org id r04HVnUx020857 X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.12 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jan 2013 17:31:51 -0000 Are you running conserver as root? If not, you won't be able to look up the password in the shadow file (directly or via the PAM module). Since you changed the port number to a high-numbered port, I'm guessing you aren't. You can put your username and encrypted password into the conserver.passwd file to get around that. Otherwise, you'll need to run it as root. Bryan From robert.karl.berger@gmail.com Sat Jan 5 19:44:31 2013 Received: from mail-ea0-f180.google.com (mail-ea0-f180.google.com [209.85.215.180]) by underdog.stansell.org (8.14.5/8.14.5) with ESMTP id r05JiNri028537 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=OK) for ; Sat, 5 Jan 2013 19:44:30 GMT Received: by mail-ea0-f180.google.com with SMTP id f13so6776348eai.25 for ; Sat, 05 Jan 2013 11:44:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=Ysu3xbxM3PbUQnpkAMdUeuhniIKiPMUTGUUoYPn7lvY=; b=q8NWmtWP1pCfkDNPb2S3LaBbSdcr2Y5eWlm4jObOVafPGHBAzx2ylH4Ge4b9pe3EDD tgwu1MBbucfosA89//6/NrkVsqsrt8U6YIukwE6oXZjH5OcB5EsHyZd9k5xgZ4d6rN/V YrZ9gi9gkQJoYdV96C/6rEsJd/kiHyUxThjW6UFxMz/7TP8bSOrupkWkNt9lVgu2QbYB 1/EldQJibX6CB/E2vhZmA5CwTjo7cPMB2rDqCx4bjYlU0dB66pK+42NU51XCkfl5lV3v GXEXgCFd6kdTprfN0SZzvUfhjqvvEfsTZt2BPGZ6DAR+cwgBJIKIuirTgM6w/cDhaA3D h8Cg== X-Received: by 10.14.206.197 with SMTP id l45mr154203723eeo.17.1357415063047; Sat, 05 Jan 2013 11:44:23 -0800 (PST) Received: from [192.168.44.136] (ppp089210086154.access.hol.gr. [89.210.86.154]) by mx.google.com with ESMTPS id b49sm119582696eem.16.2013.01.05.11.44.21 (version=SSLv3 cipher=OTHER); Sat, 05 Jan 2013 11:44:22 -0800 (PST) Message-ID: <50E88290.3000505@gmail.com> Date: Sat, 05 Jan 2013 21:44:16 +0200 From: Robert Berger User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: users@conserver.com Subject: ssh/byobu screen size Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Score: -1.489 () BAYES_00,FREEMAIL_FROM,T_DKIM_INVALID X-Scanned-By: MIMEDefang 2.72 on 198.151.248.21 X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.12 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Jan 2013 19:44:31 -0000 Hi, In the meantime I'm pretty happy with my conserver setup and managed to get ssh going as well. Why would I go for a simple ssh connection through conserver? $ consoles Enter student@vlab2-gateone's password: igepv2-1 up beagle-xm-1 up student@vlab2-armv7a-dev up student@console student@vlab2-gateone up Like this I can see who is using which machine. Some mysterious problem I see is related to screen size when I use byobu. If I ssh to a machine and execute byobu the size of it is full screen, but as soon as I ssh through conserver the size of byobu is just a quarter of the screen, which is quite annoying. I compare the environment variables and they don't indicate any obvious problem size problem: 22,24c22,24 < declare -x SSH_CLIENT="192.168.2.132 34830 22" < declare -x SSH_CONNECTION="192.168.2.132 34830 192.168.2.160 22" < declare -x SSH_TTY="/dev/pts/2" --- > declare -x SSH_CLIENT="192.168.2.132 34829 22" > declare -x SSH_CONNECTION="192.168.2.132 34829 192.168.2.160 22" > declare -x SSH_TTY="/dev/pts/0" 27c27 < declare -x XDG_SESSION_COOKIE="33f8bc2dcb5d99346cfaa01700000004-1357413880.650470-1787195920" --- > declare -x XDG_SESSION_COOKIE="33f8bc2dcb5d99346cfaa01700000004-1357413754.175098-985048905" Regards, Robert From glance@acc.umu.se Sat Jan 5 21:30:53 2013 Received: from mail.acc.umu.se (mail.acc.umu.se [130.239.18.156]) by underdog.stansell.org (8.14.5/8.14.5) with ESMTP id r05LUkHF001650 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sat, 5 Jan 2013 21:30:53 GMT Received: from localhost (localhost [127.0.0.1]) by amavisd-new (Postfix) with ESMTP id 09DCE2A5; Sat, 5 Jan 2013 22:30:45 +0100 (MET) X-Virus-Scanned: amavisd-new at acc.umu.se Received: by mail.acc.umu.se (Postfix, from userid 24471) id 679A52A4; Sat, 5 Jan 2013 22:30:44 +0100 (MET) Date: Sat, 5 Jan 2013 22:30:43 +0100 From: Anton Lundin To: Robert Berger Subject: Re: ssh/byobu screen size Message-ID: <20130105213043.GT7933@acc.umu.se> References: <50E88290.3000505@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <50E88290.3000505@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Score: -1.66 () BAYES_00,RP_MATCHES_RCVD X-Scanned-By: MIMEDefang 2.72 on 198.151.248.21 Cc: users@conserver.com X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.12 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Jan 2013 21:30:53 -0000 On 05 January, 2013 - Robert Berger wrote: > Some mysterious problem I see is related to screen size when I use byobu. > > If I ssh to a machine and execute byobu the size of it is full screen, > but as soon as I ssh through conserver the size of byobu is just a > quarter of the screen, which is quite annoying. > > I compare the environment variables and they don't indicate any obvious > problem size problem: Try a : eval `resize` In your remote shell. //Anton -- Anton Lundin +46702-161604 From robert.karl.berger@gmail.com Sun Jan 6 11:44:49 2013 Received: from mail-ee0-f54.google.com (mail-ee0-f54.google.com [74.125.83.54]) by underdog.stansell.org (8.14.5/8.14.5) with ESMTP id r06Bif0A017744 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=OK) for ; Sun, 6 Jan 2013 11:44:48 GMT Received: by mail-ee0-f54.google.com with SMTP id c13so9059776eek.13 for ; Sun, 06 Jan 2013 03:44:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=rmJngDTYU2AaS0zFL8FknWvrNgO/Bm8iL7IiKzaJmXM=; b=gqO6bxKELpPDGT+g1fEL1vamVlrMpuDMXMICnABurCb20WuG/ILWhNnZmMDy60+Ztl 6WpyLq6CHKzpTuFN4Lq7SJjNVnuTxulzU71zLUR8mKjIaytyz1ES/scFeM9M83QopsGZ fFUmfhCHw8ME2LrE9f6fO4On7y13H+gTaWWTlXmx710a0sJ/tVu3T0eg4Nj3DLLQjqE6 m5j1xru/quRAetE3OIBTchLX9ttJ/ExrEweOe8WD1MNS/7npLju6CeTFh2czHBqyuMMm ic7iJBFSADYUXYfMZOeX9KnQ8IAWrrnMpDBLXS5cA5IhbMGI2rLsXoNrWlj1CXRn0h9L 59xA== X-Received: by 10.14.2.66 with SMTP id 42mr159908052eee.7.1357472680727; Sun, 06 Jan 2013 03:44:40 -0800 (PST) Received: from [192.168.44.136] (ppp089210086154.access.hol.gr. [89.210.86.154]) by mx.google.com with ESMTPS id e2sm123778202eeo.8.2013.01.06.03.44.38 (version=SSLv3 cipher=OTHER); Sun, 06 Jan 2013 03:44:39 -0800 (PST) Message-ID: <50E963A0.3030207@gmail.com> Date: Sun, 06 Jan 2013 13:44:32 +0200 From: Robert Berger User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Anton Lundin Subject: Re: ssh/byobu screen size References: <50E88290.3000505@gmail.com> <20130105213043.GT7933@acc.umu.se> In-Reply-To: <20130105213043.GT7933@acc.umu.se> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Score: -1.489 () BAYES_00,FREEMAIL_FROM,T_DKIM_INVALID X-Scanned-By: MIMEDefang 2.72 on 198.151.248.21 Cc: users@conserver.com X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.12 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Jan 2013 11:44:50 -0000 Hi Anton, On 01/05/2013 11:30 PM, Anton Lundin wrote: > > Try a : > eval `resize` This did the trick - thanks! Regards, Robert > > In your remote shell. > > //Anton > > From robert.karl.berger@gmail.com Mon Jan 14 11:18:18 2013 Received: from mail-la0-f52.google.com (mail-la0-f52.google.com [209.85.215.52]) by underdog.stansell.org (8.14.5/8.14.5) with ESMTP id r0EBIBaa020466 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=OK) for ; Mon, 14 Jan 2013 11:18:18 GMT Received: by mail-la0-f52.google.com with SMTP id fq12so3649919lab.39 for ; Mon, 14 Jan 2013 03:18:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=kWzD8qA7r1aiMjbdnmdV5EAe+4uK/AyWI30sGdPkVHk=; b=tYNgKVUtmtmhYtSuqWBPLmzhKR7RLeImpJc4Ex5MHdeZrlQlg5rH2TdeTO6vyAQcYi WWWhToHS4azI2CFKIZUBs9ko01q5IR2Iab8elZPIrYV8UuYlFCZ/lVpb2YDNhUBVdzb2 No0jtpFiClUshkWk3uq7fHkLkaSMcIT18P7FGQqj7PLiwNSNs33G1Vr9kZZ2waNDefHe y+sCfZfd8UMstHrmSYBAkCZSrDLdyC8bmD2RQoaBloQzjDkmK2Vx8DNpxx5lA0oClNOG Z0eLwSmZJZO8GF6qor/oWAvqUrx5ydeezQRL4+P9OYmyBs0HW6xwRDKYHoxSmxYXNvaH Y7uQ== X-Received: by 10.112.16.203 with SMTP id i11mr34851507lbd.135.1358162289840; Mon, 14 Jan 2013 03:18:09 -0800 (PST) Received: from [172.31.5.181] ([62.103.98.54]) by mx.google.com with ESMTPS id fv12sm5074150lab.12.2013.01.14.03.18.07 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 14 Jan 2013 03:18:08 -0800 (PST) Message-ID: <50F3E968.2050900@gmail.com> Date: Mon, 14 Jan 2013 13:18:00 +0200 From: Robert Berger User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130106 Thunderbird/17.0.2 MIME-Version: 1.0 To: users@conserver.com Subject: conserver monitor activity Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Score: -1.489 () BAYES_00,FREEMAIL_FROM,T_DKIM_INVALID X-Scanned-By: MIMEDefang 2.72 on 198.151.248.21 X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.12 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Jan 2013 11:18:19 -0000 Hi, I was wondering if there is a way to monitor activity on certain consoles and do something in case there is no activity for a certain amount of time. Assume an embedded board is connected a console of the conserver and someone works on it, but forgets to turn it off. If there is no activity on the console for, say 1 hour, I would like to *) send a message/warning and *) run a script to turn off the power of the board. (I do have a script, which can turn on/off my embedded boards) Regards, Robert From cfowler@outpostsentinel.com Fri Jan 18 16:18:27 2013 Received: from support.opsdc.com (support.opsdc.com [65.254.219.9]) by underdog.stansell.org (8.14.5/8.14.5) with ESMTP id r0IGIK0j028625 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 18 Jan 2013 16:18:27 GMT Received: from [192.168.100.2] ([192.168.100.2]) (authenticated bits=0) by support.opsdc.com (8.13.8/8.13.8) with ESMTP id r0IGIGlu025612; Fri, 18 Jan 2013 11:18:16 -0500 Message-ID: <50F975D7.2080406@outpostsentinel.com> Date: Fri, 18 Jan 2013 11:18:31 -0500 From: Chris Fowler User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Robert Berger Subject: Re: conserver monitor activity References: <50F3E968.2050900@gmail.com> In-Reply-To: <50F3E968.2050900@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -1.5 () BAYES_00 X-Scanned-By: MIMEDefang 2.72 on 198.151.248.21 Cc: users@conserver.com X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.12 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jan 2013 16:18:27 -0000 On 01/14/2013 06:18 AM, Robert Berger wrote: > Hi, > > I was wondering if there is a way to monitor activity on certain > consoles and do something in case there is no activity for a certain > amount of time. > > Assume an embedded board is connected a console of the conserver and > someone works on it, but forgets to turn it off. If there is no activity > on the console for, say 1 hour, I would like to > *) send a message/warning and > *) run a script to turn off the power of the board. (I do have a script, > which can turn on/off my embedded boards) > Not in conserver. I did this buy using tip instead of conserver's serial feature. I have my own version of tip and I added code to it that allowed me to specify on the command line the number of seconds to send a SNMP trap if there is no data seen on the RX line of the port. My tip also does an alarm if it sees a loss of DCD. The device that is being monitored is wired to tie its DTR into my DCD. Chris