Attempt to improve cmd_checkout. Added checkin command for ssh users.