Problem. Following command line
knife bootstrap 127.0.0.1 -r 'recipe[chef-client]' -x user -p password --sudo
returns
Bootstrapping Chef on 127.0.0.1
WARNING: Failed to connect to 127.0.0.1 -- Errno::ECONNREFUSED: Connection refused - connect(2)
Expected that this command will succeed and after it
knife node list
will return
[
"127.0.0.1"
]
SSH server is working fine on localhost and ssh [email protected] -p password
works as expected.