[ale] Freenas problem
Mark Wright
m.perry.wright at gmail.com
Fri Jun 17 09:29:48 EDT 2011
Hi David,
Thanks for the follow up info. I think the command did only remove
one entry. It did create a .old file before it modified the file
that is why I assumed it erased it all.
Mark Wright
m.perry.wright at gmail.com
On Jun 16, 2011, at 4:36 PM, David Tomaschik wrote:
> 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
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.ale.org/pipermail/ale/attachments/20110617/6fd3ecac/attachment.html
More information about the Ale
mailing list