Coder Social home page Coder Social logo

sshd-docker's People

Contributors

nitsujri avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

sshd-docker's Issues

Docker file issue

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

Permission denied

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.

pem file in authorization-key?

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.