[augeas-devel] ssh_config lens

Greg Swift gregswift at gmail.com
Fri Mar 9 23:50:45 UTC 2012


Hey ... so in this lens items under a host end up with no indentation.  Is
this something that maybe should happen?

augtool> ls /files/etc/ssh/ssh_config/Host[.="*"]
GSSAPIAuthentication = yes
#comment[1] = If this option is set to yes then remote X11 clients will
have full access
#comment[2] = to the original X11 display. As virtually no X11 client
supports the untrusted
#comment[3] = mode correctly we set this to yes.
ForwardX11Trusted = yes
#comment[4] = Send locale-related environment variables
SendEnv[1]/ = (none)
SendEnv[2]/ = (none)
SendEnv[3]/ = (none)
augtool> set /files/etc/ssh/ssh_config/Host[.="*"]/ForwardX11 yes
augtool> save
Saved 1 file(s)
augtool>
[root at myboxen ~]# grep -v ^[#$] /etc/ssh/ssh_config
Host *
        GSSAPIAuthentication yes
        ForwardX11Trusted yes
        SendEnv LANG LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY
LC_MESSAGES
        SendEnv LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT
        SendEnv LC_IDENTIFICATION LC_ALL
ForwardX11 yes


-greg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/augeas-devel/attachments/20120309/8dd4c249/attachment.htm>


More information about the augeas-devel mailing list