Linux server.edchosting.com 4.18.0-553.79.1.lve.el7h.x86_64 #1 SMP Wed Oct 15 16:34:46 UTC 2025 x86_64
LiteSpeed
Server IP : 75.98.162.185 & Your IP : 216.73.216.163
Domains :
Cant Read [ /etc/named.conf ]
User : goons4good
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
lib /
python3.6 /
site-packages /
salt /
config /
schemas /
Delete
Unzip
Name
Size
Permission
Date
Action
__pycache__
[ DIR ]
drwxr-xr-x
2022-10-11 05:09
__init__.py
171
B
-rw-r--r--
2022-05-16 09:16
common.py
1.58
KB
-rw-r--r--
2022-05-16 09:16
esxcluster.py
6.19
KB
-rw-r--r--
2022-05-16 09:16
esxdatacenter.py
1.01
KB
-rw-r--r--
2022-05-16 09:16
esxi.py
6.02
KB
-rw-r--r--
2022-05-16 09:16
esxvm.py
15.49
KB
-rw-r--r--
2022-05-16 09:16
minion.py
704
B
-rw-r--r--
2022-05-16 09:16
ssh.py
2.65
KB
-rw-r--r--
2022-05-16 09:16
vcenter.py
1.52
KB
-rw-r--r--
2022-05-16 09:16
Save
Rename
""" :codeauthor: Pedro Algarvio (pedro@algarvio.me) salt.config.schemas.ssh ~~~~~~~~~~~~~~~~~~~~~~~ Salt SSH related configuration schemas """ from salt.config.schemas.minion import MinionConfiguration from salt.utils.schema import ( AnyOfItem, BooleanItem, DictItem, IntegerItem, PortItem, RequirementsItem, Schema, SecretItem, StringItem, ) class RosterEntryConfig(Schema): """ Schema definition of a Salt SSH Roster entry """ title = "Roster Entry" description = "Salt SSH roster entry definition" host = StringItem( title="Host", description="The IP address or DNS name of the remote host", # Pretty naive pattern matching pattern=r"^((\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})|([A-Za-z0-9][A-Za-z0-9\.\-]{1,255}))$", min_length=1, required=True, ) port = PortItem( title="Port", description="The target system's ssh port number", default=22 ) user = StringItem( title="User", description="The user to log in as. Defaults to root", default="root", min_length=1, required=True, ) passwd = SecretItem( title="Password", description="The password to log in with", min_length=1 ) priv = StringItem( title="Private Key", description="File path to ssh private key, defaults to salt-ssh.rsa", min_length=1, ) priv_passwd = SecretItem( title="Private Key passphrase", description="Passphrase for private key file", min_length=1, ) passwd_or_priv_requirement = AnyOfItem( items=( RequirementsItem(requirements=["passwd"]), RequirementsItem(requirements=["priv"]), ) )(flatten=True) sudo = BooleanItem( title="Sudo", description="run command via sudo. Defaults to False", default=False, ) timeout = IntegerItem( title="Timeout", description=( "Number of seconds to wait for response when establishing an SSH connection" ), ) thin_dir = StringItem( title="Thin Directory", description=( "The target system's storage directory for Salt " "components. Defaults to /tmp/salt-<hash>." ), ) minion_opts = DictItem( title="Minion Options", description="Dictionary of minion options", properties=MinionConfiguration(), ) class RosterItem(Schema): title = "Roster Configuration" description = "Roster entries definition" roster_entries = DictItem(pattern_properties={r"^([^:]+)$": RosterEntryConfig()})( flatten=True )