Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

This is dangerous but I have removed the requirement for an authed us…

…er on secure system
  • Loading branch information...
commit 19a07f46d783f73b6a598d85f5b4eb9068bd0a71 1 parent 50b641a
Ivan Vanderbyl authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  chef-user.rb
  2. +1 −1  system.rb
2  chef-user.rb
View
@@ -45,7 +45,7 @@ def group
dep 'public key' do
def ssh_dir
- "/home/#{var(:username, :default => 'chef')}" / '.ssh'
+ "/home/#{var(:username, :default => 'deploy')}" / '.ssh'
end
met? { grep /^ssh-rsa/, ssh_dir + '/id_rsa.pub' }
meet {
2  system.rb
View
@@ -19,7 +19,7 @@ def ssh_conf_path file
end
dep 'secured ssh logins' do
- requires ['sshd.managed', 'passwordless ssh logins']
+ requires ['sshd.managed'] #, 'passwordless ssh logins']
met? {
# -o NumberOfPasswordPrompts=0
output = failable_shell('ssh -o StrictHostKeyChecking=no -o PasswordAuthentication=no nonexistentuser@localhost').stderr
Please sign in to comment.
Something went wrong with that request. Please try again.