Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEAT] SSH Server #401

Closed
1 task done
OverStyleFR opened this issue Aug 26, 2024 · 4 comments
Closed
1 task done

[FEAT] SSH Server #401

OverStyleFR opened this issue Aug 26, 2024 · 4 comments

Comments

@OverStyleFR
Copy link

Is this a new feature request?

  • I have searched the existing issues

Wanted change

I want a SSH Server inside the container (because i want to monitoring the Nvidia SMI by Centreon, and for that i need SSH). I don't want to monitor the nvidia SMI of the host because i want to know if the nvidia passthrough the docker is active or not.

Reason for change

Because i want to monitor the Nvidia SMI of the plex. And if you add SSH Server, maybye other person will do other thing...

Proposed code change

No propose code, sorry.

Copy link

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

@j0nnymoe
Copy link
Member

We do not have any plans to add an SSH Server to this container nor any other. You're more than welcome to add this yourself via docker mods: https://github.com/linuxserver/docker-mods/tree/universal-package-install .

@j0nnymoe j0nnymoe closed this as not planned Won't fix, can't repro, duplicate, stale Aug 26, 2024
@Roxedus
Copy link
Member

Roxedus commented Aug 26, 2024

Not going to happen.

  1. There is better options for executing commands in a container, ie docker exec
  2. A SSH server in a container is extremely bad practice
  3. This is very niche, and should be solved with https://www.linuxserver.io/custom

@linuxserver linuxserver deleted a comment Aug 26, 2024
@OverStyleFR
Copy link
Author

We do not have any plans to add an SSH Server to this container nor any other. You're more than welcome to add this yourself via docker mods: https://github.com/linuxserver/docker-mods/tree/universal-package-install .

Okay thanks for the response. I try to install openssh-server, but he didn't want to install.
My file :

version: "3.3"
services:

  plex:
    image: lscr.io/linuxserver/plex:latest
    container_name: plex
    network_mode: host
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Europe/Paris
      - VERSION=docker
      - PLEX_CLAIM=
      - NVIDIA_VISIBLE_DEVICES=all
      - DOCKER_MODS=linuxserver/mods:universal-package-install
      - INSTALL_PACKAGES=openssh-server|nano
    volumes:
      - ./application/plex:/config
    restart: always
    ports:
      - 2222:22
    runtime: nvidia

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

4 participants
@Roxedus @j0nnymoe @OverStyleFR and others