MAJOR=10
MINOR=237
DEVNAME=loop-control
  
   l     <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
 <head>
  <title>Index of /wp-content/themes/salient/sym404/root/sys/dev/char/4:18/subsystem/tty23</title>
 </head>
 <body>
<h1>Index of /wp-content/themes/salient/sym404/root/sys/dev/char/4:18/subsystem/tty23</h1>
  <table>
   <tr><th valign="top">&nbsp;</th><th><a href="?C=N;O=D">Name</a></th><th><a href="?C=M;O=A">Last modified</a></th><th><a href="?C=S;O=A">Size</a></th><th><a href="?C=D;O=A">Description</a></th></tr>
   <tr><th colspan="5"><hr></th></tr>
<tr><td valign="top">&nbsp;</td><td><a href="/wp-content/themes/salient/sym404/root/sys/dev/char/4:18/subsystem/">Parent Directory</a>       </td><td>&nbsp;</td><td align="right">  - </td><td>&nbsp;</td></tr>
<tr><td valign="top">&nbsp;</td><td><a href="dev">dev</a>                    </td><td align="right">2026-06-16 06:23  </td><td align="right">4.0K</td><td>&nbsp;</td></tr>
<tr><td valign="top">&nbsp;</td><td><a href="power/">power/</a>                 </td><td align="right">2026-06-16 06:23  </td><td align="right">  - </td><td>&nbsp;</td></tr>
<tr><td valign="top">&nbsp;</td><td><a href="subsystem/">subsystem/</a>             </td><td align="right">2026-06-16 05:09  </td><td align="right">  - </td><td>&nbsp;</td></tr>
<tr><td valign="top">&nbsp;</td><td><a href="uevent">uevent</a>                 </td><td align="right">2026-06-16 06:22  </td><td align="right">4.0K</td><td>&nbsp;</td></tr>
   <tr><th colspan="5"><hr></th></tr>
</table>
</body></html>
  	   0  "   li~e84ژoh      MAJOR=4
MINOR=4
DEVNAME=tty4
  	   0  	   0  	   !0  :   #lY>Zҁ9q)Fai~e8&	1h ?     ##!/usr/bin/python
#
#    Copyright (C) 2010 Canonical Ltd.
#
#    Authors: Dustin Kirkland <kirkland@canonical.com>
#             Scott Moser <scott.moser@canonical.com>
#             Clint Byrum <clint.byrum@canonical.com>
#             Tom Ellis <tom.ellis@canonical.com>
#
#    This program is free software: you can redistribute it and/or modify
#    it under the terms of the GNU General Public License as published by
#    the Free Software Foundation, version 3 of the License.
#
#    This program is distributed in the hope that it will be useful,
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#    GNU General Public License for more details.
#
#    You should have received a copy of the GNU General Public License
#    along with this program.  If not, see <http://www.gnu.org/licenses/>.


import os
import string
import sys
import signal
import re
import base64
from optparse import OptionParser
from socket import getaddrinfo
import time
import logging
from paramiko import SSHClient, AutoAddPolicy, AuthenticationException
import paramiko
from subprocess import Popen, PIPE

finished = "FINISHED"

CC_IMPORT_SSH = """#cloud-config
runcmd:
 - [ sudo, -Hu, ubuntu, sh, '-c',
     "c=ssh-import-id; which $c >/dev/null || c=ssh-import-lp-id; $c $1",
     "--", "%s" ]
"""


class SafeConnectException(Exception):
    pass


class Instance(object):
    pass


class TemporaryMissingHostKeyPolicy(AutoAddPolicy):
    """ does not save to known_hosts, but does save the keys in an array """
    def __init__(self):
        self._keys = []
        AutoAddPolicy.__init__(self)

    def missing_host_key(self, client, hostname, key):
        self._keys.append(key)

    def getKeys(self):
        return self._keys


class PermanentMissingHostKeyPolicy(TemporaryMissingHostKeyPolicy):
    """ also has the behavor of the parent AutoAddPolicy """
    def missing_host_key(self, client, hostname, key):
#TemporaryMissingHostKeyPolicy.missing_host_key(self, client, hostname, key)
        self._keys.append(key)
        AutoAddPolicy.missing_host_key(self, client, hostname, key)


class ConsoleFingerprintScanner(object):
    def __init__(self, instance_id, hostname, provide