Acme Packet (MOSC)

MOSC Banner

SBC sends EOF to Python Script after establishing ssh connection

edited Jan 2, 2017 9:23AM in Acme Packet (MOSC) 2 commentsAnswered ✓

Hi,

We I'm currently trying to write a python script that executes some commands on the SBC for administrative purpose. 
For some reason, just after logging in, the SBC sends an EOF and terminates the sesseion:

dporobic@linux-dien:~/scripts> python bp_backup.py

Trying to connect to 10.xxx.xxx.xxx (1/3)

DEBUG:paramiko.transport:starting thread (client mode): 0x6108c950L

DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_2.1.1

DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-Mocana SSH

INFO:paramiko.transport:Connected (version 2.0, client Mocana)

DEBUG:paramiko.transport:kex algos:[u'diffie-hellman-group14-sha1', u'diffie-hellman-group1-sha1'] server key:[u'ssh-dss', u'ssh-rsa'] client encrypt:[u'aes256-cbc', u'rijndael256-cbc', u'aes192-cbc', u'rijndael192-cbc', u'aes128-cbc', u'rijndael128-cbc', u'3des-cbc', u'arcfour'] server encrypt:[u'aes256-cbc', u'rijndael256-cbc', u'aes192-cbc', u'rijndael192-cbc', u'aes128-cbc', u'rijndael128-cbc', u'3des-cbc', u'arcfour'] client mac:[u'hmac-sha1', u'hmac-sha1-96', u'hmac-md5', u'hmac-md5-96'] server mac:[u'hmac-sha1', u'hmac-sha1-96', u'hmac-md5', u'hmac-md5-96'] client compress:[u'none'] server compress:[u'none'] client lang:[u''] server lang:[u''] kex follows?False

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center