jenfi-eng / sshd-docker Goto Github PK
View Code? Open in Web Editor NEWFargate has no host. Let's add sshd so we can get into the container.
Fargate has no host. Let's add sshd so we can get into the container.
Hi,
i am getting this error at this line
COPY authorized-keys/*.pub /root/.ssh/authorized_keys
Note: /root/.ssh/authorized_keys not a directory to copy.
Also i have modified the docker file as needed.
i am able to login to do ssh fargate container and able to take heapdump, but once i exit from ssh session.
and i am trying to login back again sshd to the same IP or do scp to copy file heapdump to local. it says
OpenSSH_7.5p1, OpenSSL 1.0.2o 27 Mar 2018
debug1: Reading configuration data /etc/ssh_config
debug1: /etc/ssh_config line 13: Deprecated option "useroaming"
debug2: resolving "10.111.XX.XX" port 22
debug2: ssh_connect_direct: needpriv 0
debug1: Connecting to 10.111.XX.XX [10.111.XX.XX] port 22.
debug1: connect to address 10.111.XX.XX port 22: Connection refused
ssh: connect to host 10.111.XX.XX port 22: Connection refused
Hi,
I've tried to build a docker image using your script but I am getting the following error:
The authenticity of host '[localhost]:2222 ([::1]:2222)' can't be established.
RSA key fingerprint is SHA256:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '[localhost]:2222' (RSA) to the list of known hosts.
Can't connect to the container in local environment.
Can I use existing AWS key-pair(pem) in authorization-key folder or should I have to create a local ssh public key and copy that to this folder?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.