Unexplained paramiko error
<p>When using ssh with paramiko to execute the command on remote system. When executing it gives error</p>

<pre><code>def execute(self,command):
            to_exec = self.transport.open_session()
            to_exec.exec_command(command)
            stdout.write("\r%s" % "Executed")
            stdout.flush()

get_connection.execute('sh /etc/botclient/avail_pack.sh')
</code></pre>

<hr>

<pre><code>File "/home/xxx/project/server/ssh_module.py", line 43, in execute
    to_exec = self.transport.open_session()
AttributeError: ssh_connection instance has no attribute 'transport'
</code></pre>
