skip to Main Content

Ubuntu – Net::OpenSSH with Expect to connect to router

I would like to connect via ssh to my router. SSH connection from shell works fine! The program: sub av_ssh { $Net::OpenSSH::debug = ~0; $av_obj_SSH = Net::OpenSSH->new($av_loc_ROUTER, user => 'newroot', key_path => ".ssh/t_zertifikat_a_karl-heinz_fischbach.key", timeout => 30); $av_obj_SSH->error and die "Couldn't…

VIEW QUESTION

Adding openssh package to alpine docker

I have the following Dockerfile: FROM alpine:latest RUN apk update RUN apk add --no-cache curl openssh sshpass rsync #etc And this docker-compose.yml: [...] services: my-container: build: context: ./my-folder dockerfile: Dockerfile container_name: my-container restart: unless-stopped #etc And I'm running this command:…

VIEW QUESTION
Back To Top
Search