Execute a command with a comment?

I’m running 3 times the following command, with different ports: /usr/lib/autossh/autossh -M 0 -N -q -o ExitOnForwardFailure=yes -o ServerAliveInterval 30 -o ServerAliveCountMax 3 -o PubkeyAuthentication=yes -o PasswordAuthentication=no -R {remote_port}:localhost:{local_port} -i /root/.ssh/id_ed25519 {user}@{host} When I’m running ps, I’d like to see a comment to help identify each one, e.g.: /usr/lib/autossh/autossh -M 0 -N -q -o ExitOnForwardFailure=yes…

Discover more

How can i force apt-get or apt to use only https connections

I am running a mongo db docker container on a network using only https. The container uses apt-get for installing packages. Since network allows only https connections,apt-get is not working for me. I have tried to change http with https in /etc/apt/sources.list and /etc/apt/sources.list.d after installing apt-transport-https. But nothing worked for me. Here is my…

Discover more