authorized_key file was being copied from wrong dir. Changed so ./ is the source of the copy to remote instead of ~/.ssh/