Skip to content

Edit and validate OpenSSH configuration (system and user)

Notifications You must be signed in to change notification settings

shabble/config-model-openssh

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Config::Model::OpenSsh - OpenSSH graphical configuration editor

This module provides a graphical configuration editor for:

/etc/ssh/sshd_config
/etc/ssh/ssh_config
~/.ssh/config

Installation

Debian or Ubuntu

As root,type:

sudo aptitude install libconfig-model-openssh-perl

To get the GUI, you should also do:

sudo aptitude install libconfig-model-tkui-perl

On Mac or Windows

The easiest way is to:

  • install Perl from ActiveState,

  • Run PPM

  • Select and install config-model-openssh and config-model-tkui

Other

You can also install these modules from CPAN:

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 information

For more information, see:

https://github.com/dod38fr/config-model/wiki
config-model-users at lists.sourceforge.net

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 aptitude 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:

$ config-model-edit -model Ssh

or

$ config-model-edit -model Sshd

This command is provided by Config::Model::Itself.

On debian or ubuntu, do:

sudo aptitude 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

About

Edit and validate OpenSSH configuration (system and user)

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Perl 100.0%