adding hooks for DB ssh connection