madhuneal / ppss

Automatically exported from code.google.com/p/ppss
0 stars 0 forks source link

Ambiguous KNOWN_HOSTS error #68

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Run ppss config command from tutorial 2 without requisite known_hosts file.
2.
3.

What is the expected output? What do you see instead?
"File  does not exist".

Studying the source code shows this is an issue relating to the KNOWN_HOSTS 
file. This message is a little ambiguous. Once I studied the code it was easy 
to remedy, but somewhat puzzling otherwise.

What version of the product are you using? On what operating system?
2.97 on Mac OS X and Linux.

Original issue reported on code.google.com by matthewf...@gmail.com on 14 Jun 2012 at 5:54

GoogleCodeExporter commented 9 years ago
After receiving the exact same error, I came upon this message.  As the 
previous user stated, the message was a little ambiguous, only due to ln583: 
'echo "File $SSH_KNOWN_HOSTS does not exist."'  Notice, please, the two spaces 
between file and does in the error message.

However, I was able to circumvent this error on Ubuntu 12.04 by two methods: 
first by simply copying the known_hosts file directly to my home directory, and 
second, by linking it to the home directory symbolically.

I was using a -K option, with a hard link, a short link, and with any other 
round-about method I could think of.  However, when I copied the file above the 
.ssh directory, the -K option "seemed" to work just fine.

Please let me know if I can assist in any way possible, Lou.  Attached is my 
created conf file.  Thank you for such a great script!  :-)

Matt-chew

Original comment by matthew....@gmail.com on 10 Dec 2012 at 8:00

Attachments: