# When run knife ssh error occurs only on one node, but therefore all ok

**URL:** <https://discourse.chef.io/t/when-run-knife-ssh-error-occurs-only-on-one-node-but-therefore-all-ok/5093>\
**Category:** Chef Infra (archive)\
**Created:** [February 6, 2014, 10:43am UTC](https://discourse.chef.io/t/when-run-knife-ssh-error-occurs-only-on-one-node-but-therefore-all-ok/5093 "2014-02-06T10:43:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vladimir\_Skubriev](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/vladimir_skubriev/32/263_2.png) [@Vladimir\_Skubriev](https://discourse.chef.io/u/Vladimir_Skubriev)\
**Post date:** [February 6, 2014, 10:43am UTC](https://discourse.chef.io/t/when-run-knife-ssh-error-occurs-only-on-one-node-but-therefore-all-ok/5093/1 "2014-02-06T10:43:36Z")

</div>

srvadm@shiva:~$ knife ssh "name:\*example.lab" "sudo chef-client 2\>&1

> /dev/null; if [$? -eq 0]; then echo "OK"; else echo "BAD"; fi" -i  
> ~/.ssh/id\_rsa -x sysadmin --no-host-key-verify  
> backup.example.lab sh: 1: Syntax error: Unterminated quoted string  
> backup.example.lab sh: 1: Syntax error: Unterminated quoted string  
> titan.example.lab OK  
> ... OK  
> backup.example.lab OK  
> callisto.example.lab OK

Why this error occurs. Chef client updated on all machines to 11.8.2  
Thank you very much answers.

--  
Faithfully yours,

CVision Lab System Administrator  
Vladmir Skubriev
