code: def console(cls, id):
          
          oper = cls.call('paas.update', cls.usable_id(id), {'console': 1})
          cls.echo('Activation of the console on your PaaS instance')
          cls.display_progress(oper)
          console_url = Paas.info(cls.usable_id(id))['console']
          access = 'ssh %s' % console_url
          cls.execute(access)
docs: Open a console to a PaaS instance.