Hi,

Dumb question: I'm running 'sudo ntpd -s' as part of a remote command to an
OpenBSD guest[*]; unless I add a 'pkill sshd' to the end of the remote
command, e.g.

  ssh guesthost 'sudo pkill -9 ntpd && sudo ntpd -s && date && pkill sshd'

the ssh connection won't disconnect. Why is this ('sudo ntpd -s' by itself,
in a shell, returns a prompt)?

Regards,

Tor

* Yep, it's a clunky work-around for resetting the guest's clock after
VirtualBox startvm'ing a savestate'd guest (perhaps there is a better way?
:-})

Reply via email to