# SSH access to sensor data - ad User ´pi´ and Password to EXEC Node

**URL:** <https://discourse.nodered.org/t/ssh-access-to-sensor-data-ad-user-pi-and-password-to-exec-node/56858>\
**Category:** General\
**Created:** [18 January 2022 12:24 UTC](https://discourse.nodered.org/t/ssh-access-to-sensor-data-ad-user-pi-and-password-to-exec-node/56858 "2022-01-18T12:24:41Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![smart\_hendrik](https://avatars.discourse-cdn.com/v4/letter/s/e95f7d/32.png) [@smart\_hendrik](https://discourse.nodered.org/u/smart_hendrik)\
**Post date:** [18 January 2022 12:24 UTC](https://discourse.nodered.org/t/ssh-access-to-sensor-data-ad-user-pi-and-password-to-exec-node/56858/1 "2022-01-18T12:24:41Z")

</div>

Hello all,

I have my node red installation running on a NAS. Now I want to realize SSH access to sensor data of my RaspberryPI in the same network.

Normally the access is done via Putty:

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/2/6/261e900e3e1871c8bef78b03e1a16ca7d48de942.png)

I know that I can execute any command via the EXEC Node. But how can I enter the password as well?

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/f/b/fbef644b3373859bbb1a2ecf3c9336e3309f5135.png)

looking forward to your answers!

Best regards Hendrik (from Germany)

---

<div class="post-metadata">

**Author:** ![UnborN](https://avatars.discourse-cdn.com/v4/letter/u/4491bb/32.png) [@UnborN](https://discourse.nodered.org/u/UnborN)\
**Post date:** [18 January 2022 12:39 UTC](https://discourse.nodered.org/t/ssh-access-to-sensor-data-ad-user-pi-and-password-to-exec-node/56858/2 "2022-01-18T12:39:03Z")

</div>

I dont think you can pass an ssh password with exec node like that .. try [bigssh node](https://flows.nodered.org/node/node-red-contrib-bigssh) (havent used it)

Most would recommend creating a python script on the remore PI that sends your sensors data with mqtt to Node-red.  
that would involve setting up an mqtt broker ([mosquitto](https://mosquitto.org/))

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [18 January 2022 12:47 UTC](https://discourse.nodered.org/t/ssh-access-to-sensor-data-ad-user-pi-and-password-to-exec-node/56858/3 "2022-01-18T12:47:46Z")

</div>

You should setup SSH Access via keys, then you won't need to enter a password for the SSH access. I always have to Google for exactly how to do it.

---

<div class="post-metadata">

**Author:** ![smart\_hendrik](https://avatars.discourse-cdn.com/v4/letter/s/e95f7d/32.png) [@smart\_hendrik](https://discourse.nodered.org/u/smart_hendrik)\
**Post date:** [18 January 2022 13:22 UTC](https://discourse.nodered.org/t/ssh-access-to-sensor-data-ad-user-pi-and-password-to-exec-node/56858/4 "2022-01-18T13:22:34Z")

</div>

thank you, the bigssh node works perfectly! Very easy to use.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [19 March 2022 13:23 UTC](https://discourse.nodered.org/t/ssh-access-to-sensor-data-ad-user-pi-and-password-to-exec-node/56858/5 "2022-03-19T13:23:02Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
