script-server icon indicating copy to clipboard operation
script-server copied to clipboard

Cant SSH from script

Open ChimorinNL opened this issue 1 year ago • 2 comments

The docker container doenst include SSH. My scripts use SSH to connect to a machine, then execute a command. Is it possible to add SSH?

ChimorinNL avatar May 12 '24 16:05 ChimorinNL

I solved this problem by writing my own Dockerfile for adding the ssh client.

FROM bugy/script-server:latest

RUN apt-get update
RUN apt-get install -y openssh-client

IvanLi-CN avatar May 13 '24 08:05 IvanLi-CN

IvanLi

Thank you! I was able to create it too.

ChimorinNL avatar May 13 '24 16:05 ChimorinNL