xnat-login - Man Page

xnat login

Synopsis

xnat login [Options]

Description

Establish a connection to XNAT and print the JSESSIONID so it can be used in sequent calls. The session is purposefully not closed so will live for next commands to use until it will time-out.

Options

Server configuration:

The configuration of some server connection

--host TEXT

URL of the XNAT host to connect to, if not given will check XNAT_HOST or XNATPY_HOST environment variables  [required]

-u,  --user TEXT

Username to connect to XNAT with.

-n,  --netrc TEXT

.netrc file location, if not given will check NETRC environment variable or default to ~/.netrc

--jsession TEXT

JSESSION value for re-using a previously opened login session

--timeout FLOAT

Timeout for requests made by this command in ms.

--loglevel [DEBUG|INFO|WARNING|ERROR|CRITICAL]

Logging verbosity level.

--help

Show this message and exit.

Info

January 2025 xnat login 0.6.2