Parses SSH known_hosts files
Author: Raphaël Pinson rap@gmai l.com hink
Known_Hosts | Parses SSH known_hosts files |
Reference | This lens ensures that conf files included in ActiveMQ /FuseMQ are properly handled by Augeas. |
License | This file is licenced under the LGPL v2+, like the rest of Augeas. |
Lens Usage | |
Configuration files | This lens applies to SSH known_hosts files. |
Augeas Lenses | |
entry | A known_hosts entry |
lns | The known_hosts lens |
Augeas Variables | |
filter |
This lens applies to SSH known_hosts files. See filter.
A known_hosts entry
let entry = let alias = [ label "alias" . store Rx.neg1 ] in [ Util.indent . seq "entry" . store Rx.neg1 . (Sep.comma . Build.opt_list alias Sep.comma)? . Sep.space . [ label "type" . store Rx.no_spaces ] . Sep.space . [ label "key" . store Rx.no_spaces ] . Util.eol ]
The known_hosts lens
let lns = (Util.empty | Util.comment | entry)*