[ale] Freenas problem

David Tomaschik david at systemoverlord.com
Thu Jun 16 16:36:30 EDT 2011


In this case, -f means "file".

That command SHOULD have only removed the one entry.

David


On Thu, Jun 16, 2011 at 4:11 PM, Mark Wright <m.perry.wright at gmail.com> wrote:
> David, you da man!
> Adding the path and -f ( I assume force) option cleared the hosts file.
> I might go back and try to restore the old file and delete the freenas entry
> but whacking the whole file worked fine......thanks
> Mark Wright
> m.perry.wright at gmail.com
>
>
> On Jun 16, 2011, at 3:56 PM, David Tomaschik wrote:
>
> On Thu, Jun 16, 2011 at 3:00 PM, Mark Wright <m.perry.wright at gmail.com>
> wrote:
>
> Correction.....  I do have /home/mark/.ssh/known_hosts
> None of the strings are identifiable or numbered.  Can I whack the whole
> file?  Its just my home network.
> the "ssh-keygen -R freenas"  command returned "no such file or directory".
>
> m.perry.wright at gmail.com
>
> You'll probably just be prompted to approve keys again.  You can also
> try the -f option to ssh-keygen, but it shouldn't be needed:
> ssh-keygen -R freenas -f /home/mark/.ssh/known_hosts




-- 
David Tomaschik, RHCE, LPIC-1
System Administrator/Open Source Advocate
OpenPGP: 0x5DEA789B
http://systemoverlord.com
david at systemoverlord.com



More information about the Ale mailing list