Created
October 1, 2015 10:08
-
-
Save biiont/7905d8d252f2f0e7ca66 to your computer and use it in GitHub Desktop.
Sync local time to remote host over ssh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Sync local date to remote host over ssh | |
ssh remote.host.net sudo date $(date "+%m%d%H%M%Y.%S") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment