Documentation about the ncm-ssh component
Configure State
[Parameters]
ssh_config_dir=/etc/ssh
ssh_client_config_file=ssh_config
ssh_daemon_config_file=sshd_config
ssh_startup_script=/sbin/service
Files:
1)/etc/ssh/sshd_config -- The daemon configuration file
2)/etc/ssh/ssh_config -- The client configuration file
Preserves the same permissions for both files.
The lines that the component add/modify is,
1)
LogLevel = VERBOSE
GSSAPIAuthentication = yes
ChallengeResponseAuthentication = yes
(
PasswordAuthentication = no
UsePAM = yes
2)
GSSAPIAuthentication = yes
GSSAPIDelegateCredentials = yes
GSSAPITrustDNS = yes
When configure is done (re)starts the service
Older configuration files are kept in the same dir by the name ssh_config.old and sshd_config.old
Unconfigure state
Its empty..
example:
$ lcm --configure ssh
INFO] executing configure on components....
[INFO] running component: ssh
---------------------------------------------------------
[INFO] configure on component ssh executed, 0 errors, 0 warnings
=========================================================
[OK] 0 errors, 0 warnings executing configure
$ lcm --unconfigure ssh
[INFO] configure on component ssh executed, 0 errors, 0 warnings
unconfigure on component ssh executed, 0 errors, 0 warnings
=========================================================
[OK] 0 errors, 0 warnings executing unconfigure