• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Using SSH in netPI-nodered-fieldbus image
#1
Adding the SSH portion from the https://github.com/Hilscher/netPI-contai...nvironment into the https://github.com/Hilscher/netPI-nodered-fieldbus image I was able to have access to the image.

Doing the same with the latest netPI-nodered-fieldbus image, the password does not get accepted. Could someone please have a look what I am doing wrong.
https://hub.docker.com/r/schranz/netpi-n...v6pmnnfkz/

The build log says something invoke-rc.d: policy-rc.d denied execution of start.I am totaly lost.
  Reply
#2
The error is easy to explain:

if you look to our image https://hub.docker.com/r/hilschernetpi/n...n-stretch/, you see the Docker file uses this line which is made for Debian stretch

&& sed -i 's/#PermitRootLogin prohibit-password/PermitRootLogin yes/' /etc/ssh/sshd_config \

you are using the line for debian:jessie

&& sed -i 's/PermitRootLogin without-password/PermitRootLogin yes/' /etc/ssh/sshd_config \

The sshd_config file has been change from one debian OS to the other using "prohibit-password" instead of "without-password".

You never fail until you stop trying.“, Albert Einstein (1879 - 1955)

  Reply
#3
Thank you very much. Does work again.
  Reply
#4
Still you should not rely on Docker Hub service only to build images remotely on the web. You need definitively a Raspberry Pi 3 to make developments yourself locally right in front of your screen. Only with a Pi 3 you have possibilities for debugging.

There will be definitively a certain point where the netPI supports ends from the forum's point of view. In detail if users build their very own container image where non of us has a clue what have been compiled together.
You never fail until you stop trying.“, Albert Einstein (1879 - 1955)

  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  https certificate issues in new nodered docker image Dipro 1 1,643 May-4th-2022, 05:46 AM
Last Post: Armin@netPI
  netPI opc ua server pull image error wswitula 3 3,080 August-27th-2021, 10:47 AM
Last Post: wswitula
  HTTP Request using Nodered DSongra 6 3,352 August-20th-2021, 11:44 AM
Last Post: Armin@netPI
  2 MAC addresses for fieldbus RJ45 ports tad 2 2,076 March-11th-2021, 01:17 PM
Last Post: tad
  Internet on the fieldbus-side COswald 21 8,926 March-1st-2021, 07:41 AM
Last Post: COswald
  NPIX-4DI4DO and NetPi-Nodered container issues alhammi 4 7,457 November-16th-2020, 01:35 PM
Last Post: alhammi
  NodeRed and EtherCAT Schranz 3 6,010 September-23rd-2020, 08:01 AM
Last Post: Armin@netPI
  Receive at startup additional data through the Fieldbus Port Schranz 1 2,787 September-10th-2020, 10:55 AM
Last Post: Armin@netPI
  Fieldbus Ports not working Schoko 13 8,426 June-29th-2020, 09:43 PM
Last Post: Armin@netPI
  Docker cannot find image COswald 16 8,770 May-18th-2020, 07:15 AM
Last Post: COswald

Forum Jump:


Users browsing this thread: 1 Guest(s)