B
blendOS3mo ago
sanner

ssh into podman containers blendos

I was trying to some of the blendos arch podman containers with vscode and I was wondering how to setup ssh on the podman containers to be able to remote into the container
4 Replies
sanner
sannerOP3mo ago
Also for added context I only want to isntall vscode in one place as opposed to each container
Asterisk
Asterisk3mo ago
In the vscode terminal do bash.<container name> or user enter <container name>
autumn (CIPG)
autumn (CIPG)3mo ago
could probably pass it as an argument to ssh like this:
ssh user@hostname "bash.containername"
ssh user@hostname "bash.containername"
iirc and there's probably a way to do that in the ssh config file too (.ssh/config)
Asterisk
Asterisk3mo ago
that too (and you'd use user enter <containername> instead)

Did you find this page helpful?