config-edit-ssh(1) Edit data of /etc/ssh/ssh_config or ~/.ssh/config


# most users will want to run
config-edit-ssh [options] [ commands ... ]
# if you don't have a X server
config-edit-ssh -ui curses [options] [ commands ... ]
# if you don't like curses
config-edit-ssh -ui shell [options] [ commands ... ]
# if you are a sys admin
config-edit-ssh -ui none [options] commands ...


This program will edit the configuration data contained in /etc/ssh/ssh_config (if you run this command as root) or the data contained in "~/.ssh/config" is you are not root.

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 Config::Model::Loader.


Specify the user interface type.
  • "tk": provides a Tk graphical interface (If Config::Model::TkUI is installed).
  • "curses": provides a curses user interface (If Config::Model::CursesUI is installed).
  • "shell": provides a shell like interface. See Config::Model::TermUI for details.
  • "none": No UI provided. Only command line arguments are handled.
Be (very) verbose
Provide debug infos.
Provides a full stack trace when exiting on error.
Load file even if error are found in data. Bad data are discarded


Original structure and comments of /etc/ssh/config are lost. There's currently no Augeas lens for ssh config data.


For support, please check the following ressources:


Dominique Dumont, ddumont at cpan dot org