-
-
22 Dec 2021 17:46:43 UTC
- Distribution: Config-Model-OpenSsh
- Source (raw)
- Browse (raw)
- Changes
- Homepage
- How to Contribute
- Repository
- Issues
- Testers (205 / 0 / 0)
- Kwalitee
Bus factor: 1- 90.86% Coverage
- License: lgpl_2_1
- Perl: v5.12.0
- Activity
24 month- Tools
- Download (179.33KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- Config::Model::OpenSsh - OpenSSH graphical configuration editor
- Installation
- Usage
- Build from git repository
- More information
- Installation from git
- Update OpenSSH model
Config::Model::OpenSsh - OpenSSH graphical configuration editor
This module provides a graphical configuration editor for:
Installation
Debian or Ubuntu
As root,type:
sudo apt install cme libconfig-model-openssh-perl
To get the GUI, you should also do:
sudo apt install libconfig-model-tkui-perl
On Mac or Windows
The easiest way is to:
install Perl from ActiveState,
Run PPM
Select and install
app-cme
,config-model-openssh
andconfig-model-tkui
Other
You can also install these modules from CPAN:
cpanm App::Cme cpanm Config::Model::OpenSsh cpanm Config::Model::TkUI
Usage
Once this module is installed, you can launch a GUI to edit
/etc/ssh/sshd_config
with:$ sudo cme edit sshd
If cme fails to load your
sshd_config
, you can try cme with-force
option.Likewise, you can edit your
~/.ssh/config
file with:$ cme edit ssh
Or to edit
/etc/ssh/ssh_config
, run as root:$ sudo cme edit system-ssh
More details are given in Managing ssh configuration with cme wiki page.
Build from git repository
More information
For more information, see:
Managing ssh configuration with cme wiki page
Using cme wiki page
Installation from git
Config::Model::OpenSsh is built with Dist::Zilla.
Please follow the instructions to build Config::Model with git to install all modules related to Dist::Zilla.
Then, make sure that Config::Model is installed.
On debian or ubuntu, do:
sudo apt-get build-dep libconfig-model-openssh-perl
Then run:
dzil build
If you want to install this software without packaging, you can also run:
dzil install
Update OpenSSH model
To update the model, the easiest way is to use the following command in the git repo:
$ cme meta edit
This command requires Config::Model::Itself.
On debian or ubuntu, do:
sudo apt install libconfig-model-itself-perl
Then you can explore the configuration elements in the GUI.
For more information on model update, see this wiki page
Module Install Instructions
To install Config::Model::OpenSsh, copy and paste the appropriate command in to your terminal.
cpanm Config::Model::OpenSsh
perl -MCPAN -e shell install Config::Model::OpenSsh
For more information on module installation, please visit the detailed CPAN module installation guide.