I have been have some issues with root password after deploying hdp on azure. so i decided to do a new one after which i tried the forward porting using vi ~/.ssh/config but after i entered on the configuration to write and quit i got that error can anyone help in solving this issue.
do an ls on "~/.ssh/config". Did it work? I am wondering if folder ".ssh" even exists (it should but it could be an issue with the VM you are using). In fact, for the user you are logged in as, is there a home folder?
Just check all your permissions including permissions on .ssh folder.