A variant of the standard ssh cookbook but with attribute based control of ssh configuration options.
Only tested on Ubuntu, so far, but given that all the changes are config related it should be fine on most flavours.
The ultimate aim is to have all the possible options driven by attributes, unless it turns out that's a stupid idea
node['ssh']['port']- What port should ssh listen on? Defaults to
node['ssh']['permit_root_login']- Can root ssh in? Defaults to
node['ssh']['password_authentication']- Is login by password accepted ? Defaults to
Nothing magic, just include leftbrained_ssh in your runlist.
License and Author
Author:: Gavin Montague firstname.lastname@example.org
Copyright 20012, Gavin Montague
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.