Skip to content

ssoossh host mapping remove

Takes the local account, and optionally one of its principals. With both, removes that principal from that account (a no-op if it is not present). With the account alone, removes the entire account mapping.

ssoossh host mapping remove <account> [principal]

Inherited from ssoossh and its parents.

Flag Type Default Description
-c, --config string path to an extra config file, merged after the standard locations
--file string /etc/ssoossh/principals.yaml path to the local principal mapping file (YAML: local account -> list of principals)
--server string server address, e.g. https://ssh.example.com; https is assumed when no scheme is given
-v, --verbose count 0 trace what the command is doing, to stderr; repeat for more (-v steps, -vv requests and files, -vvv bodies)