Initially I wasn't able to mount the server but then I used "resvport" to mount but it turns out that not the file "authorized_keys" is locked and I can't make changes to it. But then I changed the file permission and wrote to it, turns out now while I am logging in, it is prompting for a password.