| Server IP : 209.205.66.10 / Your IP : 216.73.217.150 Web Server : Apache/2.4.52 (Ubuntu) System : Linux ammon 5.15.0-186-generic #196-Ubuntu SMP Sat Jun 20 16:09:34 UTC 2026 x86_64 User : ( 1006) PHP Version : 8.5.8 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib/python3/dist-packages/twisted/plugins/__pycache__/ |
Upload File : |
o
�b� � @ sx d Z ddlmZ ddlmZ ddlmZ dZzddlm Z m
Z
eeej�G dd� d��Ze� Z
W d S ey; Y d S w )
z
Cred plugin for ssh key login.
� )�implementer)�plugin)�ICheckerFactoryz�
This allows SSH public key authentication, based on public keys listed in
authorized_keys and authorized_keys2 files in user .ssh/ directories.
��SSHPublicKeyChecker�UNIXAuthorizedKeysFilesc @ s, e Zd ZdZdZeZdZej Z ddd�Z
dS ) �SSHKeyCheckerFactoryzL
Generates checkers that will authenticate a SSH public key
�sshkeyzNo argstring required.� c C s
t t� �S )z�
This checker factory ignores the argument string. Everything
needed to authenticate users is pulled out of the public keys
listed in user .ssh/ directories.
r )�self� argstring� r
�>/usr/lib/python3/dist-packages/twisted/plugins/cred_sshkeys.py�generateChecker$ s
z$SSHKeyCheckerFactory.generateCheckerN)r
)�__name__�
__module__�__qualname__�__doc__�authType�sshKeyCheckerFactoryHelp�authHelp�argStringFormatr �credentialInterfacesr r
r
r
r r s r N)r �zope.interfacer �twistedr �twisted.cred.strcredr r �twisted.conch.checkersr r �IPluginr �theSSHKeyCheckerFactory�ImportErrorr
r
r
r �<module> s
�