mirror of
https://github.com/ovh/the-bastion.git
synced 2025-01-09 08:47:50 +08:00
50 lines
1 KiB
ReStructuredText
50 lines
1 KiB
ReStructuredText
===============
|
|
groupDelServer
|
|
===============
|
|
|
|
Remove an IP or IP block from a group's serrver list
|
|
====================================================
|
|
|
|
|
|
.. admonition:: usage
|
|
:class: cmdusage
|
|
|
|
--osh groupDelServer --group GROUP [OPTIONS]
|
|
|
|
.. program:: groupDelServer
|
|
|
|
|
|
.. option:: --group GROUP
|
|
|
|
Specify which group this machine should be removed from
|
|
|
|
.. option:: --host HOST|IP|NET/CIDR
|
|
|
|
Host(s) we want to remove access to
|
|
|
|
.. option:: --user USER
|
|
|
|
Remote user that was allowed, if any user was allowed, use --user-any
|
|
|
|
.. option:: --user-any
|
|
|
|
Use if any remote login was allowed
|
|
|
|
.. option:: --port PORT
|
|
|
|
Remote SSH port that was allowed, if any port was allowed, use --port-any
|
|
|
|
.. option:: --port-any
|
|
|
|
Use if any remote port was allowed
|
|
|
|
.. option:: --scpup
|
|
|
|
Remove SCP upload right, you--bastion-->server (omit --user in this case)
|
|
|
|
.. option:: --scpdown
|
|
|
|
Remove SCP download right, you<--bastion--server (omit --user in this case)
|
|
|
|
|
|
|