# Lldb fails to attach over SSH connection

**URL:** <https://forums.kodeco.com/t/lldb-fails-to-attach-over-ssh-connection/62905>\
**Category:** Advanced Apple Debugging\
**Created:** [February 23, 2019, 9:58am UTC](https://forums.kodeco.com/t/lldb-fails-to-attach-over-ssh-connection/62905 "2019-02-23T09:58:40Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mrbass21](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/mrbass21/32/102075_2.png) [@mrbass21](https://forums.kodeco.com/u/mrbass21)\
**Post date:** [February 23, 2019, 9:58am UTC](https://forums.kodeco.com/t/lldb-fails-to-attach-over-ssh-connection/62905/1 "2019-02-23T09:58:40Z")

</div>

Is there some known issue with issuing LLDB commands over SSH? I’m on my windows machine and I used Powershell (with Windows 10) to remote into my iMac and issued the `lldb -f /bin/ls` command. When I do a ‘process launch’ it fails to attach. I tried it in Putty and it fails to attach. If I type it directly into my iMacs terminal, it works as described in the book.

Am I missing something here on why I can’t remotely debug over an SSH connection?

---

<div class="post-metadata">

**Author:** ![mrbass21](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/mrbass21/32/102075_2.png) [@mrbass21](https://forums.kodeco.com/u/mrbass21)\
**Post date:** [February 23, 2019, 10:01am UTC](https://forums.kodeco.com/t/lldb-fails-to-attach-over-ssh-connection/62905/2 "2019-02-23T10:01:50Z")

</div>

I should have googled harder… Answer is here: [lldb attaching to a process on OS X from an ssh session - Stack Overflow](https://stackoverflow.com/questions/27238931/lldb-attaching-to-a-process-on-os-x-from-an-ssh-session).

---

<div class="post-metadata">

**Author:** ![gdelarosa](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/gdelarosa/32/109063_2.png) [@gdelarosa](https://forums.kodeco.com/u/gdelarosa)\
**Post date:** [February 23, 2019, 6:31pm UTC](https://forums.kodeco.com/t/lldb-fails-to-attach-over-ssh-connection/62905/3 "2019-02-23T18:31:36Z")

</div>

Hi @mrbass21, glad you were able to discover the answer and thanks for sharing it with us!

Best,  
Gina

---

<div class="post-metadata">

**Author:** ![system](https://s3.amazonaws.com/cdn.raywenderlich.com/community/forum-assets/noun-game-ghost-878668.png) [@system](https://forums.kodeco.com/u/system)\
**Post date:** [August 9, 2019, 1:58am UTC](https://forums.kodeco.com/t/lldb-fails-to-attach-over-ssh-connection/62905/4 "2019-08-09T01:58:45Z")

</div>

This topic was automatically closed after 166 days. New replies are no longer allowed.
