Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@noc-srv:/opt/noc# ./noc debug-script get_config x460-lab
- 2014-02-26 17:38:54,048 SSH: Using gmpy
- 2014-02-26 17:38:54,354 Using JSON library: cjson
- 2014-02-26 17:38:54,482 Loading PeriodicRegistry
- 2014-02-26 17:38:54,487 Loading DownloaderRegistry
- 2014-02-26 17:38:54,526 Loading ProfileRegistry
- 2014-02-26 17:38:55,184 Loading ScriptRegistry
- 2014-02-26 17:38:55,549 Setting up 'select' polling method
- 2014-02-26 17:38:55,550 Activating 'select' poller
- 2014-02-26 17:38:55,550 Loading private ssh key from 'etc/ssh/id_rsa'
- 2014-02-26 17:38:55,551 Loading public ssh key from 'etc/ssh/id_rsa.pub'
- access_profile {
- profile: "Extreme.XOS"
- scheme: SSH
- address: "192.168.0.10"
- user: "noc"
- password: "noc123"
- }
- object_name: "x460-lab"
- script: "Extreme.XOS.get_config"
- 2014-02-26 17:38:55,553 Running script thread
- 2014-02-26 17:38:55,554 Running socket factory (SelectPoller)
- 2014-02-26 17:38:55,554 Creating transaction id=6217722 method=None callback=None
- 2014-02-26 17:38:55,555 [Extreme.XOS.get_config(x460-lab, 192.168.0.10)] Running
- 2014-02-26 17:38:55,555 [Extreme.XOS.get_config(x460-lab, 192.168.0.10)] Running script: Extreme.XOS.get_config ({})
- 2014-02-26 17:38:55,555 [Extreme.XOS.get_config(x460-lab, 192.168.0.10)] cli(show config)
- 2014-02-26 17:38:55,555 [Extreme.XOS.get_config(x460-lab, 192.168.0.10)] Running new provider
- 2014-02-26 17:38:55,556 [SSH: 192.168.0.10] ==> SSH_START
- 2014-02-26 17:38:55,556 [SSH: 192.168.0.10] set_timeout(30)
- 2014-02-26 17:38:55,556 register_socket(<CLISSHSocket(0x43d7790, 192.168.0.10:22, )>,None)
- 2014-02-26 17:38:56,555 Tick
- 2014-02-26 17:38:56,555 3 TICKS TO EXIT
- 2014-02-26 17:38:56,555 [SSH: 192.168.0.10] Initializing socket
- 2014-02-26 17:38:56,555 [SSH: 192.168.0.10] Connecting 192.168.0.10:22
- 2014-02-26 17:38:56,569 [SSH: 192.168.0.10] Connected
- 2014-02-26 17:38:56,572 [SSH: 192.168.0.10] event(SSH_VERSION)
- 2014-02-26 17:38:56,573 [SSH: 192.168.0.10] ==> SSH_VERSION
- 2014-02-26 17:38:56,573 [SSH: 192.168.0.10] Remote protocol version 2.0, remote software version 4.1.2 SSH Secure Shell Toolkit
- 2014-02-26 17:38:56,573 [SSH: 192.168.0.10] Setting SSH transforms to: in=none none, out=none none
- 2014-02-26 17:38:56,574 [SSH: 192.168.0.10] Setting SSH transform keys
- 2014-02-26 17:38:56,574 [SSH: 192.168.0.10] Sending message type MSG_KEXINIT (20)
- 2014-02-26 17:38:56,574 [SSH: 192.168.0.10] event(SSH_KEY_EXCHANGE)
- 2014-02-26 17:38:56,575 [SSH: 192.168.0.10] ==> SSH_KEY_EXCHANGE
- 2014-02-26 17:38:56,577 [SSH: 192.168.0.10] Receiving message type MSG_KEXINIT (20)
- 2014-02-26 17:38:56,577 [SSH: 192.168.0.10] Receiving server proposals: kex=['diffie-hellman-group1-sha1'] key=['ssh-dss'] enc_cs=['aes256-cbc', 'aes192-cbc', 'aes128-cbc', 'twofish256-cbc', 'twofish-cbc', 'twofish192-cbc', 'twofish128-cbc', 'blowfish-cbc', '3des-cbc'] enc_sc=['aes256-cbc', 'aes192-cbc', 'aes128-cbc', 'twofish256-cbc', 'twofish-cbc', 'twofish192-cbc', 'twofish128-cbc', 'blowfish-cbc', '3des-cbc'] mac_cs=['hmac-sha1', 'hmac-md5', 'hmac-sha1-96', 'hmac-md5-96'] mac_sc=['hmac-sha1', 'hmac-md5', 'hmac-sha1-96', 'hmac-md5-96'] comp_cs=['none'] comp_sc['none']
- 2014-02-26 17:38:56,578 [SSH: 192.168.0.10] Setting SSH transforms to: in=aes256-cbc hmac-sha1, out=aes256-cbc hmac-sha1
- 2014-02-26 17:38:56,578 [SSH: 192.168.0.10] Selecting diffie-hellman-group1-sha1 ssh-dss, in=(aes256-cbc hmac-sha1 none) out=(aes256-cbc hmac-sha1 none)
- 2014-02-26 17:38:56,580 [SSH: 192.168.0.10] Sending message type MSG_KEX_DH_GEX_REQUEST_OLD (30)
- 2014-02-26 17:38:56,895 [SSH: 192.168.0.10] Receiving message type MSG_KEXDH_REPLY (31)
- 2014-02-26 17:38:56,896 [SSH: 192.168.0.10] Server PK fingerprint: 2a:46:75:1f:f2:d7:a5:a5:66:e4:f4:13:dc:fe:c3:af
- 2014-02-26 17:38:56,898 [SSH: 192.168.0.10] Sending message type MSG_DISCONNECT (1)
- 2014-02-26 17:38:56,898 [SSH: 192.168.0.10] Disconnecting: Bad signature (KEY_EXCHANGE_FAILED:3)
- 2014-02-26 17:38:56,898 [SSH: 192.168.0.10] event(FAILURE)
- 2014-02-26 17:38:56,898 [SSH: 192.168.0.10] ==> FAILURE
- 2014-02-26 17:38:56,899 [SSH: 192.168.0.10] set_patterns([])
- 2014-02-26 17:38:56,899 [SSH: 192.168.0.10] Receiving message type MSG_NEWKEYS (21)
- 2014-02-26 17:38:56,901 [SSH: 192.168.0.10] Closing socket
- 2014-02-26 17:38:56,901 unregister_socket(<CLISSHSocket(0x43d7790, 192.168.0.10:22, closing)>)
- 2014-02-26 17:38:56,932 [Extreme.XOS.get_config(x460-lab, 192.168.0.10)] CLI Provider is ready
- 2014-02-26 17:38:56,932 [Extreme.XOS.get_config(x460-lab, 192.168.0.10)] Disable paging
- 2014-02-26 17:38:56,932 [Extreme.XOS.get_config(x460-lab, 192.168.0.10)] cli(disable clipaging)
- 2014-02-26 17:38:56,932 [SSH: 192.168.0.10] submit('disable clipaging', bulk_lines=None, streaming=False)
- 2014-02-26 17:38:56,932 [Extreme.XOS.get_config(x460-lab, 192.168.0.10)] Login failed: Disconnecting: Bad signature (KEY_EXCHANGE_FAILED:3)
- 2014-02-26 17:38:56,933 [Extreme.XOS.get_config(x460-lab, 192.168.0.10)] Closing
- 2014-02-26 17:38:56,933 Requesting call: <bound method CLISSHSocket.close of <CLISSHSocket(0x43d7790, 192.168.0.10:22, closing)>>(*(), **{'flush': True})
- 2014-02-26 17:38:57,903 Tick
- 2014-02-26 17:38:57,903 Calling delayed <bound method CLISSHSocket.close of <CLISSHSocket(0x43d7790, 192.168.0.10:22, closing)>>(*(), **{'flush': True})
- 2014-02-26 17:38:57,904 2 TICKS TO EXIT
- 2014-02-26 17:38:58,905 Tick
- 2014-02-26 17:38:58,905 1 TICKS TO EXIT
- 2014-02-26 17:38:59,906 Tick
- 2014-02-26 17:38:59,907 EXIT
- 2014-02-26 17:38:59,907 Shutting down the factory
- 2014-02-26 17:38:59,907 0 TICKS TO EXIT
- 2014-02-26 17:38:59,907 Stopping socket factory
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement