Config::Model::OpenSsh - OpenSsh graphical configuration editor
This module provides a graphical configuration editor for /etc/ssh/sshd_config and /etc/ssh/ssh_config (for root) and ~/.ssh/config for non-root users.
Main dependencies:
- Config::Model::TkUI
- Config::Model
Suggested dependencies:
- Config::Model::CursesUI to get a curses interface for the editor
- Config::Model::Backend::Augeas to keep comment and structure of
/etc/ssh/sshd_config (not available for ssh config data)
Once this module is installed, you can run:
# config-edit-sshd
If config-edit fails to load your sshd.conf, you can try config-edit with -force option.
Likewise, you can edit your ~/.ssh/config file with:
$ config-edit-ssh
Or to edit /etc/ssh/ssh_config, run as root:
# config-edit-ssh
This Perl modules contains several files (listed in MANIFEST). Here
are the purpose of the main files:
- Build.PL : script to build the Perl module. See Module::Build(3pm)
- lib/Config/Model/models : directory containing Ssh and Sshd model
files. The main model are Sshd.pl and Ssh.pl. The complete ssh and
sshd models are made from all files contained in this directory.
- lib/Config/Model/OpenSsh.pm: Read and write ssh or sshd
configuration files
- t/ : non-regression tests
AUTHOR
Copyright (c) 2008-2009 Dominique Dumont.
This file is part of Config-Model-OpenSsh. License is LGPL v2.
All help text provided in OpenSsh models were extracted from sshd_config(8) and ssh_config(8) man pages. I've slightly modified the text to better suit an interactive editor.
tar zxvf <dist_file>.tar.gz
cd <dist_directory>
perl Build.PL
./Build test
If you want to install this software without packaging, type also:
./Build install