alash3al / dockssh Goto Github PK
View Code? Open in Web Editor NEWDockssh, ssh into any container from anywhere with the help of redis for password storage
Dockssh, ssh into any container from anywhere with the help of redis for password storage
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.
Not a very needed one, since it's better not to do it in the container because of known_hosts rejection after each rebuild.
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?
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.
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.
to resolve this issue, I recommend you to make the bash default instead of shell... at least on Debian core systems.
in one part of your documentation, you mentioned that the redis key has to start with "dockerssh", but the correct form is "dockssh"
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.