If I'm say, editing a file in VIM, the state of the remote machine needs to be sent to my Mac. I know that browsers cache images and such. Does SSH do the same? Are there any programs for Mac that do that? Would I be able to use that data to recover remote files?
Does SSH on Mac keep a local cache of data
backupssh
Related Question
- MacOS – Does Mac keeps a history of all actions I have done with files/folders similar to terminal
- Copying and pasting between tmux panes containing vim instances over SSH in Terminal.app
- Can’t SSH into the Mac from Linux
- Local User LaunchAgent via SSH: Operation not permitted
- MacOS – How to avoid macOS for keep asking for the passphrase for key ~/.ssh/id_rsa while remotely operating via ssh
- How to get an ssh tunnel started every time the Mac boots
Best Answer
SSH simply allows you to use a shell (command line) on a remote machine; it doesn't cache the data that you access.
If you're looking for a solution to back up files from another machine, and Time Machine isn't what you want, perhaps check out rsync.