Skip to content

Commit

Permalink
Merge pull request #3271 from chef/IanMadd-patch-1
Browse files Browse the repository at this point in the history
Update knife_ssh.md
  • Loading branch information
ashiqueps authored Oct 8, 2024
2 parents d79ae7c + 8ae14a9 commit 46d6a5d
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions docs-chef-io/content/workstation/knife_ssh.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,17 +86,15 @@ This subcommand has the following options:

: The search query used to return a list of servers to be accessed using SSH and the specified `SSH_COMMAND`. This option uses the same syntax as the search subcommand. If the `SEARCH_QUERY` does not contain a colon character (`:`), then the default query pattern is `tags:*#{@query}* OR roles:*#{@query}* OR fqdn:*#{@query}* OR addresses:*#{@query}*`, which means the following two search queries are effectively the same:

<!-- -->

``` bash
knife search ubuntu
```

or:

``` bash
knife search node "tags:*ubuntu* OR roles:*ubuntu* OR fqdn:*ubuntu* (etc.)"
```
``` bash
knife search ubuntu
```

or:

``` bash
knife search node "tags:*ubuntu* OR roles:*ubuntu* OR fqdn:*ubuntu* (etc.)"
```

`SSH_COMMAND`

Expand Down

0 comments on commit 46d6a5d

Please sign in to comment.