def getAuthorizedKeysFiles(self, credentials): if config.ssh.usesystemkeys: return SSHPublicKeyDatabase.getAuthorizedKeysFiles( self, credentials) return [ FilePath( config.ssh.userauthkeys.replace("{{USER}}", credentials.username)) ]
def getAuthorizedKeysFiles(self, credentials): if config.ssh.usesystemkeys: return SSHPublicKeyDatabase.getAuthorizedKeysFiles( self, credentials) return [FilePath( config.ssh.userauthkeys.replace("{{USER}}", credentials.username))]
def getAuthorizedKeysFiles(self, credentials): if self.authorized_keys is not None: return [FilePath(ak) for ak in self.authorized_keys] return SSHPublicKeyDatabase.getAuthorizedKeysFiles(self, credentials)