Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In the default (Session) category, enter the IP address and port 22. Select SSH

...

Single command

If you run the following command you wont have to get the timestamp from anywhere else. This pings google.com and gets the time from the response.

Code Block
sudo date -s "$(curl -s --head http://google.com | grep ^Date: | sed 's/Date: //g')"

Find the current time in a timestamp format

...