I need to setup a machine to AutoSSH on startup, but I would prefer a passphrase or some other form of protection to be placed on the key being used for SSHing. Is there anyway way to both protect the key while also still allowing AutoSSH to automatically access it on system startup? The protection doesn't have to specifically be the normal passphrase level, but could be some higher level (say on a portion of the file system). But it still needs to be able to automatically restart on reboot. Thanks!
Solution For My Case: This isn't a solution to the problem described, but it solves the need for this in my situation (and maybe will solve someone else's). The key was being used to open a reverse SSH tunnel with a remote server. The client device was in a less secure (physical) position, which is why the extra protection was desired. Instead of protecting the key, I restricted what this key was allowed access to do on the remote server (i.e. the server only allows this key to establish the reverse SSH tunnel, but not to do anything else).