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

Re: conserver and ssh

Robert Berger robert.karl.berger@gmail.com
Fri, 4 Jan 2013 17:21:50 GMT


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