Interface AgentForwardingFilter

    • Method Detail

      • canForwardAgent

        boolean canForwardAgent​(Session session,
                                String requestType)

        Determine if the session may arrange for agent forwarding.

        This server process will open a new listen socket locally and export the address in the SshAgent.SSH_AUTHSOCKET_ENV_NAME environment variable.

        Parameters:
        session - The Session requesting permission to forward the agent.
        requestType - The request type string that triggered this call
        Returns:
        true if the agent forwarding is permitted, false if denied.