> For the complete documentation index, see [llms.txt](https://docs.yemreak.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.yemreak.com/arsiv/programming/ngrok-ile-raspberrypi-sunucusunu-ssh-uzerinden-erisime-acmak.md).

# ngrok ile raspberrypi sunucusunu SSH üzerinden erişime açmak

![](https://i.imgur.com/uiVZrrQ.png)

![](https://i.imgur.com/waYZNop.png)

## Ngrok Kurulumu ve Yapilandirmasi

<details>

<summary>`ngrok` ile indirin</summary>

```bash
snap install ngrok
```

</details>

<details>

<summary>ngrok’a kayit olun ve `Authtoken` olusturun</summary>

\- \[Sign Up]\(<https://ngrok.com/signup>) alanından kayıt olun - \[Your Authtoken]\(<https://dashboard.ngrok.com/get-started/your-authtoken>) alanındaki token bilginizi kopyalayın - Site üzerinden \`IP address\` değerini görebilirsiniz

<img src="https://i.imgur.com/RptaCP4.png" alt="" data-size="original">

</details>

<details>

<summary>`ngrok`'u sistem her acildiginda arkaplanda calistirmak</summary>

</details>

<details>

<summary>`process`'i iptal etmek için</summary>

```bash
kill -9 "$(pgrep ngrok)"
```

</details>

## SSH ile bağlanmak

* `ssh` için 22 portu kullanılır
* [Ngrok \~ Agents](https://dashboard.ngrok.com/tunnels/agents) üzerinden `IP` alanı altındaki adrese tıklayıp `tunnel` değerinizi alın

```bash
# tcp://2213.tcp.eu.ngrok.io:16323 için
USERNAME=""
ssh $USERNAME@2213.tcp.eu.ngrok.io -p 16323
```

![](https://i.imgur.com/ZkVusp6.png)

![](https://i.imgur.com/PdRD3M0.png)

## VNC ile Bağlanmak

* `VNC` için 5900 portu kullanılır

<details>

<summary>[Ngrok ~ Agents](https://dashboard.ngrok.com/tunnels/agents) üzerinden `IP` alanı altındaki adrese tıklayıp `tunnel` değerinizi alın</summary>

<img src="https://i.imgur.com/qZzPqvw.png" alt="" data-size="original">

```bash
# tcp://2213.tcp.eu.ngrok.io:16323
2213.tcp.eu.ngrok.io:16323
```

</details>

## Referanslar

[link\_preview](https://github.com/vincenthsu/systemd-ngrok)

{% embed url="<https://github.com/inconshreveable/ngrok/issues/345#issue-158700406>" %}

{% embed url="<https://medium.com/@gaelollivier/connect-to-your-raspberry-pi-from-anywhere-using-ngrok-801e9fd1dd46>" %}

{% embed url="<https://www.endtoend.ai/tutorial/ngrok-ssh-forwarding/>" %}

{% embed url="<https://www.youtube.com/watch?v=js1lxR12hHo>" %}

![](https://i.imgur.com/qWca3Xq.png)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.yemreak.com/arsiv/programming/ngrok-ile-raspberrypi-sunucusunu-ssh-uzerinden-erisime-acmak.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
