Support Questions
Find answers, ask questions, and share your expertise
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

"~/.ssh/config" E212: Can't open file for writing


"~/.ssh/config" E212: Can't open file for writing

New Contributor

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.



Re: "~/.ssh/config" E212: Can't open file for writing

Super Guru
@Adedayo Adekeye

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.

Don't have an account?
Coming from Hortonworks? Activate your account here