Did you know that `systemctl` has a host parameter?

`systemctl -H beko@someawesomehost·org status nginx`

…and it will come back just fine if your ssh config is properly set up and the ssh-key is loaded. (beko.famkos.net/t/RuZ)

@bekopharm

ob ich jetzt
ssh root@kiste 'systemctl blabla'
oder
systemctl -H root@kiste 'blabla'

mache, ist mir, Erich gesagt, herzlich wurscht.

Sign in to participate in the conversation
Mastodon

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!