config-edit-sshd - Edit data of /etc/ssh/sshd_config


NAME

config-edit-sshd - Edit data of /etc/ssh/sshd_config

Back to Top


SYNOPSIS

  # most users will want to run
  config-edit-sshd [options] [ commands  ... ]
  # if you don't have a X server
  config-edit-sshd -ui curses [options] [ commands  ... ]
  # if you don't like curses
  config-edit-sshd -ui shell [options] [ commands  ... ]
  # if you are a sys admin
  config-edit-sshd -ui none [options]  commands  ...
  # example:
  config-edit-sshd -ui none AllowUsers=foo,bar,baz
  cat /etc/ssh/sshd_config

Back to Top


DESCRIPTION

This program will edit the configuration data contained in /etc/ssh/sshd_config.

You can specify commands as arguments that will be run on the configuration root before launching the UI. These command follow the syntax defined in the Config::Model::Loader manpage.

Back to Top


Options

-ui

Specify the user interface type.

-root_dir

Specify a root directory to read or write the configuration files. / by default so /etc/ssh/sshd_config is used.

-verbose

Be (very) verbose

-debug

Provide debug infos.

-trace

Provides a full stack trace when exiting on error.

-force-load

Load file even if error are found in data. Bad data are discarded

-backend

Read/Write backend to use. Currently 2 backends are possible:

Back to Top


CAVEATS

Original structure and comments of /etc/sshd/config are lost during edition if Config::Model::Backend::Augeas and its dependencies are not installed.

Back to Top


BUGS

Augeas backend will probably fail with sshd Match blocks.

Back to Top


SUPPORT

For support, please check the following ressources:

Back to Top


AUTHOR

Dominique Dumont, ddumont at cpan dot org

Back to Top


SEE ALSO

config-edit, the Config::Model manpage

Back to Top

 config-edit-sshd - Edit data of /etc/ssh/sshd_config