# \#ssh

**URL:** https://community.openhab.org/tag/ssh/33.md

[Latest](https://community.openhab.org/latest.md) · [Categories](https://community.openhab.org/categories.md) · [Tags](https://community.openhab.org/tags.md)

---

## [Solved : Two identical exec commands ( run ssh ) behave differently](https://community.openhab.org/t/solved-two-identical-exec-commands-run-ssh-behave-differently/160864)

<div class="topic-metadata">

**Author:** [@ralf.adler](https://community.openhab.org/u/ralf.adler)\
**Replies:** 1\
**Last updated:** [December 15, 2024, 10:03am UTC](https://community.openhab.org/t/solved-two-identical-exec-commands-run-ssh-behave-differently/160864 "2024-12-15T10:03:29Z")

</div>

Good Morning ! I use openhab4 in docker at a Synology NAS. rule wolNas2 or wolNas3 3 should shut down the server 2 or 3 via ssh wolNas2 does this. wolNas3 reports “Host key verification failed.” the keys are…

---

## [Karaf ssh regression (bug?) in 4.2.0](https://community.openhab.org/t/karaf-ssh-regression-bug-in-4-2-0/157616)

<div class="topic-metadata">

**Author:** [@rdslw](https://community.openhab.org/u/rdslw)\
**Replies:** 1\
**Last updated:** [August 4, 2024, 11:27am UTC](https://community.openhab.org/t/karaf-ssh-regression-bug-in-4-2-0/157616 "2024-08-04T11:27:53Z")

</div>

Upon upgrade from 3.4.2 to 4.2.0 karaf console stopped accepting ssh key of type “ecdsa-sha2-nistp256”. Configuration files: /srv/openhab-userdata/etc/org.apache.karaf.shell.cfg /srv/openhab-userdata/etc/keys.properti…

---

## [SSH comand FROM OpenHab to another device (not into OH ;)](https://community.openhab.org/t/ssh-comand-from-openhab-to-another-device-not-into-oh/151675)

<div class="topic-metadata">

**Author:** [@Oekel](https://community.openhab.org/u/Oekel)\
**Replies:** 2\
**Last updated:** [November 30, 2023, 3:57pm UTC](https://community.openhab.org/t/ssh-comand-from-openhab-to-another-device-not-into-oh/151675 "2023-11-30T15:57:32Z")

</div>

Platform information: openHAB version: 4.0.1 As long as I was able so search I could only find Topics about how to connet to OH. (Thats OK) But I have the challange to get some status information of my router (that…

---

## [How to SSH into openhabian with no password (linux)](https://community.openhab.org/t/how-to-ssh-into-openhabian-with-no-password-linux/77262)

<div class="topic-metadata">

**Author:** [@Harpo3](https://community.openhab.org/u/Harpo3)\
**Replies:** 5\
**Last updated:** [March 3, 2023, 9:27am UTC](https://community.openhab.org/t/how-to-ssh-into-openhabian-with-no-password-linux/77262 "2023-03-03T09:27:35Z")

</div>

I did not find a specific tutorial, so here is a step-by-step for enabling ‘no password’ access from your Linux machine into your openhabian install (Sorry, this does not cover Windows). In my case, openhabian is install…

---

## [Cant connect via PuTTY(SSH) or enter the openhabianpi:8080](https://community.openhab.org/t/cant-connect-via-putty-ssh-or-enter-the-openhabianpi-8080/138529)

<div class="topic-metadata">

**Author:** [@Phan\_Dom](https://community.openhab.org/u/Phan_Dom)\
**Replies:** 6\
**Last updated:** [September 1, 2022, 7:43am UTC](https://community.openhab.org/t/cant-connect-via-putty-ssh-or-enter-the-openhabianpi-8080/138529 "2022-09-01T07:43:00Z")

</div>

Hey, first of all sorry for my bad english. I am using a Raspberry Pi 3B and already installed Openhabian 3.3 the 32 Bit Version. The Pi is connected via LAN. I followed the Instructions but cant connect to the openha…

---

## [Dropped SSH connection to Karaf Console blocks whole system](https://community.openhab.org/t/dropped-ssh-connection-to-karaf-console-blocks-whole-system/129980)

<div class="topic-metadata">

**Author:** [@csowada](https://community.openhab.org/u/csowada)\
**Replies:** 2\
**Last updated:** [December 20, 2021, 6:33pm UTC](https://community.openhab.org/t/dropped-ssh-connection-to-karaf-console-blocks-whole-system/129980 "2021-12-20T18:33:47Z")

</div>

I always wondered why openHAB was blocked after a few changes from my PC. After a few minutes this blockage has been solved and all commands in the queue were executed. Now I think I have found the problem. It is the re…

---

## [Automated execution of Karaf commands](https://community.openhab.org/t/automated-execution-of-karaf-commands/54915)

<div class="topic-metadata">

**Author:** [@ceedee](https://community.openhab.org/u/ceedee)\
**Replies:** 16\
**Last updated:** [December 4, 2021, 2:53pm UTC](https://community.openhab.org/t/automated-execution-of-karaf-commands/54915 "2021-12-04T14:53:20Z")

</div>

Hi there! I need some help with automated execution of Karaf commands. I have the Osram Lightify binding in place, but after a couple of days it stops working. I need to restart the binding in order to keep it working. …

---

## [Exec command not working](https://community.openhab.org/t/exec-command-not-working/127050)

<div class="topic-metadata">

**Author:** [@Franco](https://community.openhab.org/u/Franco)\
**Replies:** 15\
**Last updated:** [October 18, 2021, 1:50pm UTC](https://community.openhab.org/t/exec-command-not-working/127050 "2021-10-18T13:50:41Z")

</div>

Platform information: Hardware: Raspberry pi 3 openHAB version:3.1 Issue of the topic: exec command not working My item: Switch ShutdownOctopi {channel="exec:command:shutdown\_octopi:run", autoupdate="false"} M…

---

## [OH3 - Network gone - no way to recover](https://community.openhab.org/t/oh3-network-gone-no-way-to-recover/120708)

<div class="topic-metadata">

**Author:** [@NCO](https://community.openhab.org/u/NCO)\
**Replies:** 41\
**Last updated:** [June 17, 2021, 5:58am UTC](https://community.openhab.org/t/oh3-network-gone-no-way-to-recover/120708 "2021-06-17T05:58:42Z")

</div>

Platform information: Hardware: RPi 4 8 GB and 32 GB micro SD + zwave: Aeotec Z-Stick Gen5 (ZW090) - USB OH 3.0.1 Yesterday, my system kind of crashed at 7:19 pm: events.log: 2021-04-11 19:18:51.764 \[INFO \] \[openhab.e…

---

## [Cannot find folder user](https://community.openhab.org/t/cannot-find-folder-user/113561)

<div class="topic-metadata">

**Author:** [@KevKev0912](https://community.openhab.org/u/KevKev0912)\
**Replies:** 9\
**Last updated:** [January 9, 2021, 5:09pm UTC](https://community.openhab.org/t/cannot-find-folder-user/113561 "2021-01-09T17:09:56Z")

</div>

Hi everyone, I want to edit the .ssh file in the user folder for activating ssh but I cannot find it. Where is it exactly or why can’t I see it.

---

## [No output - bash script calling C program via SSH](https://community.openhab.org/t/no-output-bash-script-calling-c-program-via-ssh/108461)

<div class="topic-metadata">

**Author:** [@nuTux](https://community.openhab.org/u/nuTux)\
**Replies:** 14\
**Last updated:** [November 19, 2020, 8:34pm UTC](https://community.openhab.org/t/no-output-bash-script-calling-c-program-via-ssh/108461 "2020-11-19T20:34:49Z")

</div>

Platform information: Hardware: Synology DS215j, 800MHz, 2 core, 512MB OS: DSM 6.2.3-25426 Update 2 Java Runtime Environment: Java8 installed openHAB version: 4.2.7 Issue of the topic: What I want to do: Create a w…

---

## [Unable to parse ip](https://community.openhab.org/t/unable-to-parse-ip/107165)

<div class="topic-metadata">

**Author:** [@SamH1999](https://community.openhab.org/u/SamH1999)\
**Replies:** 25\
**Last updated:** [November 5, 2020, 7:36pm UTC](https://community.openhab.org/t/unable-to-parse-ip/107165 "2020-11-05T19:36:47Z")

</div>

When I try to SSH into openhabian its no longer working when I set the hostname to openhabian but it allows me to SSH into openhabian through my IP address however even though it says I’m connected I can’t access openhab…

---

## [SSH from Openhab Docker Container](https://community.openhab.org/t/ssh-from-openhab-docker-container/103903)

<div class="topic-metadata">

**Author:** [@psyciknz](https://community.openhab.org/u/psyciknz)\
**Replies:** 4\
**Last updated:** [August 19, 2020, 10:26pm UTC](https://community.openhab.org/t/ssh-from-openhab-docker-container/103903 "2020-08-19T22:26:53Z")

</div>

Is the only way of getting SSH into a docker container still to make my own DockerFile image and built it manually each release? That sounds a little clumsy to me. Thankfully upgrades aren’t that often. I was looking …

---

## [Restart binding from Rule](https://community.openhab.org/t/restart-binding-from-rule/34264)

<div class="topic-metadata">

**Author:** [@sjef86](https://community.openhab.org/u/sjef86)\
**Replies:** 3\
**Last updated:** [March 17, 2020, 8:01am UTC](https://community.openhab.org/t/restart-binding-from-rule/34264 "2020-03-17T08:01:28Z")

</div>

Hi, I need some advise regarding restarting a binding from rules. I have installed sshpass, and can run the command from from ssh terminal and restart binding without typing karaf password. I have created a python scri…

---

## [Configure openhabian SSH to use "screen"](https://community.openhab.org/t/configure-openhabian-ssh-to-use-screen/86027)

<div class="topic-metadata">

**Author:** [@Andrew\_Brake](https://community.openhab.org/u/Andrew_Brake)\
**Replies:** 6\
**Last updated:** [November 24, 2019, 5:49pm UTC](https://community.openhab.org/t/configure-openhabian-ssh-to-use-screen/86027 "2019-11-24T17:49:22Z")

</div>

Platform information: Raspberry Pi 3B OS: Openhabian openHAB version: 2.4.0-1 (Release Build) I was having a lot of issues with SSH sessions timing out during things like software installation, or editing configurat…

---

## [Connection to Karaf is refused](https://community.openhab.org/t/connection-to-karaf-is-refused/83780)

<div class="topic-metadata">

**Author:** [@Jochen\_Bauer](https://community.openhab.org/u/Jochen_Bauer)\
**Replies:** 5\
**Last updated:** [October 18, 2019, 9:43am UTC](https://community.openhab.org/t/connection-to-karaf-is-refused/83780 "2019-10-18T09:43:30Z")

</div>

Dear Community, currently my openHAB is not responding, when using my browser. Anyway I can see that the raspberry is in the network and I am even able to connect to it by using putty. So my next try to find relevant in…

---

## [\[SOLVED\] "Need to be root" - Sending ssh command remotly](https://community.openhab.org/t/solved-need-to-be-root-sending-ssh-command-remotly/38725)

<div class="topic-metadata">

**Author:** [@nattila1](https://community.openhab.org/u/nattila1)\
**Replies:** 21\
**Last updated:** [August 4, 2019, 2:03pm UTC](https://community.openhab.org/t/solved-need-to-be-root-sending-ssh-command-remotly/38725 "2019-08-04T14:03:17Z")

</div>

Hi, I am trying to turn off my ubuntu server remotely. Openhab is running on my raspberry and Openhab runs by “openhab” user. I could manage to ssh from rpi with openhab user without password, but when I run exec comman…

---

## [Problem with Openhab user executing command over ssh](https://community.openhab.org/t/problem-with-openhab-user-executing-command-over-ssh/78114)

<div class="topic-metadata">

**Author:** [@nathantfry](https://community.openhab.org/u/nathantfry)\
**Replies:** 2\
**Last updated:** [July 17, 2019, 8:52pm UTC](https://community.openhab.org/t/problem-with-openhab-user-executing-command-over-ssh/78114 "2019-07-17T20:52:39Z")

</div>

Please bear with my while I attempt to explain my problem as I feel like I’ve done everything I’m capable of doing but I’m obviously missing something, something probably simple, it does not help that my troubleshooting …

---

## [HowTo: Change SSH port on openHAB2](https://community.openhab.org/t/howto-change-ssh-port-on-openhab2/23669)

<div class="topic-metadata">

**Author:** [@chriscolden](https://community.openhab.org/u/chriscolden)\
**Replies:** 17\
**Last updated:** [January 16, 2019, 6:14pm UTC](https://community.openhab.org/t/howto-change-ssh-port-on-openhab2/23669 "2019-01-16T18:14:48Z")

</div>

To change the SSH port in openhab2 you must edit the following file org.apache.karaf.shell.cfg You need to update the following entry. sshPort = 8101 The port is 8101 by default but can be changed to any available po…

---

## [Calculating time for use in cron entry, and installing via SSH](https://community.openhab.org/t/calculating-time-for-use-in-cron-entry-and-installing-via-ssh/61830)

<div class="topic-metadata">

**Author:** [@brianmichalk](https://community.openhab.org/u/brianmichalk)\
**Replies:** 0\
**Last updated:** [December 30, 2018, 9:19pm UTC](https://community.openhab.org/t/calculating-time-for-use-in-cron-entry-and-installing-via-ssh/61830 "2018-12-30T21:19:33Z")

</div>

In this example, the Astro binding is used with the suggested linked items that are used in this rule. The Exec binding is also used to SSH to a remote machine. This example assume you have already exchanged and instal…

---

## [Log:tail is hardly readable in version 2.4.0-SNAPSHOT Build #1387](https://community.openhab.org/t/log-tail-is-hardly-readable-in-version-2-4-0-snapshot-build-1387/53560)

<div class="topic-metadata">

**Author:** [@yves](https://community.openhab.org/u/yves)\
**Replies:** 4\
**Last updated:** [October 31, 2018, 10:35pm UTC](https://community.openhab.org/t/log-tail-is-hardly-readable-in-version-2-4-0-snapshot-build-1387/53560 "2018-10-31T22:35:46Z")

</div>

I did an upgrade today to the latests OpenHab; so I got 2.4.0-SNAPSHOT Build #1387 (It had already 2.4 yet it was a while since I did an upgrade) WhenI look at the log using log:tail The log is now all over the place. …

---

## [Issue with Karaf console](https://community.openhab.org/t/issue-with-karaf-console/51593)

<div class="topic-metadata">

**Author:** [@ariela](https://community.openhab.org/u/ariela)\
**Replies:** 6\
**Last updated:** [October 26, 2018, 7:17pm UTC](https://community.openhab.org/t/issue-with-karaf-console/51593 "2018-10-26T19:17:51Z")

</div>

Hi folks, I’ve an issue when I try to have some info from Karaf console. See the image. https://ibb.co/hfTDEz How can have this more “human readable”? :slight\_smile: I don’t know from when I had this issue … for sure…

---

## [\[SOLVED\] Putty Fatal Error: "Server Unexpectedly Closed Connection"](https://community.openhab.org/t/solved-putty-fatal-error-server-unexpectedly-closed-connection/50083)

<div class="topic-metadata">

**Author:** [@TheLittleDoc](https://community.openhab.org/u/TheLittleDoc)\
**Replies:** 6\
**Last updated:** [August 25, 2018, 6:13pm UTC](https://community.openhab.org/t/solved-putty-fatal-error-server-unexpectedly-closed-connection/50083 "2018-08-25T18:13:45Z")

</div>

Heya! So I finally set up my openHABian server last night, and was working fine. I SSHed into it and got timezone configured, and when I rebooted, I could no longer SSH into it. The web interface still looks and works f…

---

## [Executing command via SSH from openhab inside docker with private key](https://community.openhab.org/t/executing-command-via-ssh-from-openhab-inside-docker-with-private-key/46483)

<div class="topic-metadata">

**Author:** [@ChrisH](https://community.openhab.org/u/ChrisH)\
**Replies:** 11\
**Last updated:** [June 16, 2018, 12:38am UTC](https://community.openhab.org/t/executing-command-via-ssh-from-openhab-inside-docker-with-private-key/46483 "2018-06-16T00:38:11Z")

</div>

Hello, I’m running OH 2.1 in a docker container. I want to power off my NAS when a switch is switched off. I guess I have use the exec binding for this, right? Then, in the default dockerhub image, there of course is …

---

## [\[SOLVED\] Works from cmd line, fails on Exec binding](https://community.openhab.org/t/solved-works-from-cmd-line-fails-on-exec-binding/44824)

<div class="topic-metadata">

**Author:** [@rsemmens](https://community.openhab.org/u/rsemmens)\
**Replies:** 3\
**Last updated:** [May 12, 2018, 5:19pm UTC](https://community.openhab.org/t/solved-works-from-cmd-line-fails-on-exec-binding/44824 "2018-05-12T17:19:55Z")

</div>

Good Evening! First things first Linux is not my first OS so any help would be greatly received. I need to shutdown my media pc from Openhab, i have a exec thing to run “ssh root@192.168.0.84 reboot -h now”. I have got…

---

## [Cannot log in after update](https://community.openhab.org/t/cannot-log-in-after-update/39433)

<div class="topic-metadata">

**Author:** [@psych](https://community.openhab.org/u/psych)\
**Replies:** 5\
**Last updated:** [January 31, 2018, 10:33pm UTC](https://community.openhab.org/t/cannot-log-in-after-update/39433 "2018-01-31T22:33:06Z")

</div>

Platform information: Hardware: Raspberry PI OS: Jessie with openhab Java Runtime Environment: java version “1.8.0\_161” Java™ SE Runtime Environment (build 1.8.0\_161-b12) Java HotSpot™ Client VM (build 25.161-b12, mi…

---

## [Openhab to access other server via ssh to execute script](https://community.openhab.org/t/openhab-to-access-other-server-via-ssh-to-execute-script/39163)

<div class="topic-metadata">

**Author:** [@Moerky](https://community.openhab.org/u/Moerky)\
**Replies:** 2\
**Last updated:** [January 23, 2018, 7:12pm UTC](https://community.openhab.org/t/openhab-to-access-other-server-via-ssh-to-execute-script/39163 "2018-01-23T19:12:19Z")

</div>

Hello I run openhab on a Raspberry and its run with user “openhab”. I would like to execute a script which logs in to another server and runs a script. With my admin user that works perfectly, without a password (as I u…

---

## [openHABian ssh connection between 2 raspberry pi](https://community.openhab.org/t/openhabian-ssh-connection-between-2-raspberry-pi/38657)

<div class="topic-metadata">

**Author:** [@StefanSo](https://community.openhab.org/u/StefanSo)\
**Replies:** 4\
**Last updated:** [January 18, 2018, 4:00am UTC](https://community.openhab.org/t/openhabian-ssh-connection-between-2-raspberry-pi/38657 "2018-01-18T04:00:51Z")

</div>

Platform information: Hardware: Raspberry Pi 3 OS: openHABian openHAB version: 2.2 Hey all, this is my first post in this forum, thanks for your attention… I have an OH-server on the first Raspberry Pi and want to d…

---

## [Openhabian - cannot connect via ssh anymore](https://community.openhab.org/t/openhabian-cannot-connect-via-ssh-anymore/37200)

<div class="topic-metadata">

**Author:** [@SpeedMaxX](https://community.openhab.org/u/SpeedMaxX)\
**Replies:** 1\
**Last updated:** [December 11, 2017, 8:02pm UTC](https://community.openhab.org/t/openhabian-cannot-connect-via-ssh-anymore/37200 "2017-12-11T20:02:28Z")

</div>

Hi, I cannot connect via ssh to my openhabian anymore. After updating via apt-get yesterday and doing a reboot, connection is no longer possible. The rest is fine, rules are still working, web-interface is running and iO…

---

## [Karaf Console - no connection via SSH running as Windows Service](https://community.openhab.org/t/karaf-console-no-connection-via-ssh-running-as-windows-service/34329)

<div class="topic-metadata">

**Author:** [@Klaas\_Mertens](https://community.openhab.org/u/Klaas_Mertens)\
**Replies:** 8\
**Last updated:** [October 2, 2017, 9:56pm UTC](https://community.openhab.org/t/karaf-console-no-connection-via-ssh-running-as-windows-service/34329 "2017-10-02T21:56:27Z")

</div>

Dear Team, i have the issue that i cannot connect via ssh to karaf Console when running openHAB as Windows Service. I needed to change the port to another value as 8101 was already used and also changed the binding in o…

[Next page](https://community.openhab.org/tag/ssh/33.md?match_all_tags=true&page=1&tags%5B%5D=ssh)
