0

I'm totally stumped on how to approach this.

I have two running containers on amazon lightsails container service. But I have no idea on how to access them with SSH.

Is this even possible? I need the commandline to check some stuff in the running container.

On the container I want to access I have an open port 22.

Dion Snoeijen
  • 143
  • 2
  • 9
  • A container is usually a wrapper around a single process. What processes are running inside these containers? Do those processes expose an ssh-compatible interface? – David Maze Dec 03 '22 at 16:35
  • Indeed, this is a webapplication (laravel) and it;s running inside an alpine based container. – Dion Snoeijen Dec 03 '22 at 16:45
  • The container is probably only running something like the PHP-FPM server and not an ssh daemon. You can't ssh into it any more than you could ssh into the PHP process on your local system. – David Maze Dec 03 '22 at 21:13

0 Answers0