Stub
definitionA small, non-secret local file that tells SSH which resident key to use. It contains no private material, can be safely deleted, and can be regenerated on any machine. A stub is a pointer, not a dependency.
With a resident key, the hardware stores the private key and the key's identity; the computer stores nothing essential. The stub simply tells SSH which resident key to ask the hardware for.
Regenerate stubs on any machine:
ssh-keygen -K
This scans the hardware key for resident credentials and creates stub files in the current directory—move them to ~/.ssh/ afterward. Use it on a fresh machine, after accidentally deleting stub files, or when migrating to a new computer.
What loss means: a minor inconvenience only. Stub loss is five seconds of ssh-keygen -K. Compare the blob—the file a non-resident key depends on—whose loss is permanent. Both are non-secret and both are useless to a thief without the hardware; only the stub is regenerable. Backing up stubs is pointless—just regenerate.