# SSH to Raspberry Pi ###### tags: `KC` `Termux` `Raspberry Pi` ## Ref https://www.jianshu.com/p/0fda5460adf4 ## Installation Please remember to use the root user to excute command. ## Steps 1. First, excute this on Raspberry Pi. ``` sudo ./ngrok tcp 22 ``` 2. Then, you would get the information of Forwarding. ![](https://i.imgur.com/zewmqkc.png) 3. Finally, excute this on Termux. ``` ssh pi@0.tcp.ngrok.io -p 12526 ``` Please change the port labeled in termianl. (**12526** here)