Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I had a populated known_hosts file. I was editing it and for a split second I saw a permission error when I saved it. I went to check what the error was and the known_hosts file was blank.

Now if I ssh to a host I get something like the following:

bash-3.2$ ssh root@

The authenticity of host '' can't be established. RSA key fingerprint is b3:c3:e3:83:23:83:93:63:13:23:63:63:d3:c3:33:a3. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added ' (RSA) to the list of known hosts.

Sounds good... but when I look at my known_hosts file, it is blank. I check the permissions and it is owned by my account. .ssh/ permissions are correct too.

I deleted known_hosts and then tried connecting again, and it creates a file but it stays blank. No host keys get added.

It just started happening after I saw that permission error.

Does any one have any clue as to what's going on here?

root user's known_hosts file updates fine though.

share|improve this question

1 Answer 1

up vote 0 down vote accepted

Could you have a full file system?

share|improve this answer
    
If not, can you write any other files? –  Olli Feb 14 '11 at 19:44
    
Yikes... it is full. Thanks :) –  garg Feb 14 '11 at 19:55

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.