# Trying to connect via SSH and run WP-CLI but getting error

**URL:** <https://community.localwp.com/t/trying-to-connect-via-ssh-and-run-wp-cli-but-getting-error/8086>\
**Category:** Support\
**Created:** [September 7, 2018, 6:12am UTC](https://community.localwp.com/t/trying-to-connect-via-ssh-and-run-wp-cli-but-getting-error/8086 "2018-09-07T06:12:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kwills](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/kwills/32/5980_2.png) [@kwills](https://community.localwp.com/u/kwills)\
**Post date:** [September 7, 2018, 6:12am UTC](https://community.localwp.com/t/trying-to-connect-via-ssh-and-run-wp-cli-but-getting-error/8086/1 "2018-09-07T06:12:16Z")

</div>

Hi,

Firstly, great product. I’m really enjoying Local by Flywheel and it’s saving me a bunch of time.

I am trying to connect to the WP-CLI by right clicking on the site in the admin and selecting ‘Open Site SSH’.

However, once the terminal window opens, I am greeted with the following error:

```
~ /Users/karlwills/Library/Application\ Support/Local\ by\ Flywheel/ssh-entryrJQNwGw9G.sh ; exit;

Failed to execute process '/Users/karlwills/Library/Application Support/Local by Flywheel/ssh- 
entry/rJQNwGw9G.sh'. Reason:

exec: Exec format error

The file '/Users/karlwills/Library/Application Support/Local by Flywheel/ssh-entry/rJQNwGw9G.sh' is marked as an executable but could not be run by the operating system.

```

Can anyone help? Thanks!

---

<div class="post-metadata">

**Author:** ![system](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/system/32/1_2.png) [@system](https://community.localwp.com/u/system)\
**Post date:** [August 25, 2020, 6:35pm UTC](https://community.localwp.com/t/trying-to-connect-via-ssh-and-run-wp-cli-but-getting-error/8086/2 "2020-08-25T18:35:13Z")

</div>


