Configuration example

Configuration used for integration tests of this module

<jsaga-default xmlns="http://www.in2p3.fr/jsaga/session">
    <contexts>
        <context type="SSH">
            <attribute name="UserPrivateKey" value="${user.home}/.jsaga/contexts/ssh/id_rsa"/>
            <attribute name="UserPass" value="${SSHKEY_PASSPHRASE}"/>
            <data type="sftp"/>
            <job type="ssh"/>
            <include host="localhost"/>
        </context>
    </contexts>
    <session>
        <context type="SSH"/>
        <context type="SSH" id="sreynaud">
            <attribute name="UserID" value="sreynaud"/>
            <attribute name="UserPrivateKey" value="${user.home}/.jsaga/contexts/ssh/sreynaud"/>
            <data type="sftp">
                <attribute name="FilenameEncoding" value="ISO-8859-1"/>
            </data>
            <job type="ssh"/>
            <include host="ccsyre*.in2p3.fr"/>
            <exclude host="localhost"/>
        </context>
        <context type="UserPass" id="AFS">
            <attribute name="UserID" value="${user.name}"/>
            <attribute name="UserPass" value="${AFS_PASSWORD}"/>
            <data type="sftp"/>
            <job type="ssh"/>
            <include host="ccage022.in2p3.fr"/>
            <exclude host="localhost"/>
        </context>
        <context type="UserPassStore" id="netrc">
            <data type="sftp"/>
            <job type="ssh"/>
            <include host="ccali05.in2p3.fr"/>
            <exclude host="localhost"/>
        </context>
    </session>
</jsaga-default>