def get_new_session(self):
    ssh = self.ssh_client
    transport = ssh.get_transport()
    session = transport.open_channel(kind='session')
    return session
Return new ssh session handler to the host
dataset/ETHPy150Open ucb-sts/sts/sts/entities/base.py/SSHEntity.get_new_session