Jump to content

Recommended Posts

Posted

If you can access the UI, you can execute commands against the device. I dont remember off hand which tab this is on, but you can execute

rm -rf /root/.ssh/known_hosts

Thanks for the quick reply. I ran the command in the advanced tab and now in the ssh tab I have this error in the known host display .

Warning: fopen(/root/.ssh/known_hosts) [function.fopen]: failed to open stream: No such file or directory in /pineapple/pages/ssh.php on line 142

Could not open file!

Not sure what do do next. I am pretty new at this.

Thanks Rob

  • Replies 104
  • Created
  • Last Reply

Top Posters In This Topic

Posted

Sigh, that was the wrong thing to do.

You need to remove it from the known_hosts file on your laptop.

On ubuntu (and most other OSs) do this:

ssh-keygen -R 172.16.42.1

Of course, run this on your laptop / desktop.

To fix the issue you are having please execute this on the pineapple:

touch /root/.ssh/known_hosts

Best Regards,

Sebkinne

Posted

Sigh, that was the wrong thing to do.

You need to remove it from the known_hosts file on your laptop.

On ubuntu (and most other OSs) do this:

ssh-keygen -R 172.16.42.1

Of course, run this on your laptop / desktop.

To fix the issue you are having please execute this on the pineapple:

touch /root/.ssh/known_hosts

Best Regards,

Sebkinne

Sweet I can get back in to pineapple with ssh through terminal. Thank you so much.

I am still getting the php function error in the ssh tab in know host on pineapple. Will this be an issue?

Regards,

Rob

Posted

Sweet I can get back in to pineapple with ssh through terminal. Thank you so much.

I am still getting the php function error in the ssh tab in know host on pineapple. Will this be an issue?

Regards,

Rob

Yes. Apply the fix I posted above.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.

×
×
  • Create New...