working version with keyfiles
password version works