Giter Club home page Giter Club logo

dockssh's Issues

Unexpected behavior, Invalid param

I've tried to went further and containerize this client.
Almost works, but somehow gets https://github.com/alash3al/dockssh/blob/v1.0.0/main.go#L80 all the time.

My docker-compose.yml is

version: '2'
services:
  redis:
    container_name: dockssh_db
    image: redis
    volumes:
    - /var/dockssh/redis_data:/data
    ports:
    - "6379:6379"
    networks:
    - dockssh
  ssh:
    container_name: dockssh_client
    image: ubuntu:16.04
    entrypoint: /entrypoint.sh
    volumes:
    - /var/dockssh/entrypoint.sh:/entrypoint.sh
    - /var/dockssh/dockssh:/dockssh
    - /var/dockssh/.ssh:/root/.ssh
    ports:
    - "22022:22022"
    networks:
    - dockssh

networks:
  dockssh:

And entrypoint.sh

#!/bin/bash

/dockssh -redis-addr redis:6379

p.s.

  • without container wrapping it works fine
  • password auth works fine with container

Not a very needed one, since it's better not to do it in the container because of known_hosts rejection after each rebuild.

Your SSH client didn't request a PTY

Hi I'm having an issue when trying to make SSH connection via Microsoft's "Remote - SSH" extension in Visual Studio Code.
It makes the connection, asks for the password and enters but soon after that it disconnects.
I can make the SSH connection through Putty and MobaXTerm only the Visual Studio Code that doesn't work, does anyone know what might be causing this error?

Capturar

start at boot time

any suggestion for start dockssh at boot time over CentOS 7 ? it should be basic however I am missing something; dockssh is an excellent utility, thanks.

Security concern

Storing passwords in Redis is really risky, couldn't you come up with a better idea with solid security? It would be awesome to be able to connect with a SSH key.

Documentation issue

in one part of your documentation, you mentioned that the redis key has to start with "dockerssh", but the correct form is "dockssh"

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.