Skip to main content
1 vote

ssh blank passphrase but still asking for it

A trailing space after END OPENSSH PRIVATE KEY----- causes openssh to treat the ssh key as encrypted and just hitting enter at the prompt doesn't work. I verified this on RH 7.9 and openssh_7.4p1 ...
cneberg's user avatar
  • 11
1 vote

Run a shell script as a different user

For sites that may have special PAM setups that make this difficult, you can bypass su/sudo entirely with systemd and a little more typing: Define a oneshot service that executes your script. If your ...
pphysch's user avatar
  • 11

Only top scored, non community-wiki answers of a minimum length are eligible