Comments (4)
The path you define for the key file has to be a path inside the container, not on host
from docker-openssh-server.
Right, I think how to put the pubic key into the container is not in the scope of this docker image, and thanks for providing this flag.
I will figure out what's the best practice
Thanks for your reply!
from docker-openssh-server.
Docker secrets is one way, which is mentioned in the readme. Alternatively you can just volume map it anywhere and put in the container address into that env var
from docker-openssh-server.
Right!
Can I ask unrelated followup question?
I found out the home folder(ie ~
) of the created user is /config
. Is this expected and if so what's the idea behind the implementation?
Thanks in advance!
from docker-openssh-server.
Related Issues (20)
- possible add root ssh login support HOT 1
- Providing static host keys prevents ssh server startup HOT 5
- openssh logs should not be accessible/removable by the user HOT 2
- Release 8.8_p1-r1-ls85 is broken HOT 1
- consider non-interactive key generation for testing purposes HOT 4
- Wrong behavior of password/passwordless sudo HOT 1
- Ability to forward a port with the -R (reverse) option HOT 3
- Running in Azure Container Instance is broken due to init use HOT 4
- [FEAT] Environment variables for remote user HOT 3
- [FEAT] Healthcheck for dockerfile HOT 2
- [BUG] grep error in logs HOT 10
- [BUG] Unable to start server on kubernetes using shareProcessNamespace with another container HOT 2
- [BUG] The UMASK environmental variable no longer works HOT 5
- [FEAT] Rootless mode HOT 7
- [BUG] Public key files from PUBLIC_KEY_DIR does not get imported HOT 3
- Permissions 0777 for host keys are too open - sshd terminates HOT 9
- Unable to ChrootDirectory HOT 10
- [FEAT] How to disable user shell (sftp mode only) HOT 3
- [FEAT] Add another versioning support HOT 8
- [FEAT] Update openssh-server to 9.8_p1. The current version 9.7_p1 is affected by CVE-2024-6387 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-openssh-server.