I prefer to type in password exactly once at start of each session,
so I use checkbox under password input.
But I forget to check the checkbox very often, so I need to type password again, if I want to edit file on the server.
I suggest to use state of the checkbox from previous session.
If the user likes to have the checkbox checked, he will have it checked always.