Category : ssh-agent

While trying to work on dev containers I created an image as part of the flow i use paramiko for ssh connection with other machine when running the image from powershell terminal everything works fine but when the image runs from vscode the code fails on SSHException: lost ssh-agent with SSHClient("{ip}", ‘{name}’, ‘{password}’) as ssh: ..

Read more

So I’m trying to create an image, which adds a SSH private key to /tmp, runs ssh-agent on it, does a git clone and then deletes the key again. This is the idea I’m trying to accomplish Dockerfile: FROM node:4.2.4 MAINTAINER Me CMD ["/bin/bash"] ENV GIT_SSL_NO_VERIFY=1 ENV https_proxy="httpsproxy" ENV http_proxy="httpproxy" ENV no_proxy="exceptions" ADD projectfolder/key /tmp/ ..

Read more