I'm running some very long jobs on a machine that I'm SSH'd in. However, sometimes after a few hours in the session, I no longer have permissions to run simple commands that I previously could. That is, when I type commands as simple as cd ..
or ls .
, I'm getting permission denied errors. Opening files or running programs yields the same result as well.
The only way to resolve this is to completely log out of my SSH session and reconnect. I seem to remember that there's some way to reauthorize my credentials within an SSH session; I can't seem to find it though. Is there any way that I can reauthorize myself when this happens?
EDIT: the problem has been resolved. It was about Kerberos authentication and not an SSH issue itself. Answer below.