robfields Posted March 21, 2013 Share Posted March 21, 2013 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 Quote Link to comment Share on other sites More sharing options...
Sebkinne Posted March 21, 2013 Author Share Posted March 21, 2013 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 Quote Link to comment Share on other sites More sharing options...
robfields Posted March 21, 2013 Share Posted March 21, 2013 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 Quote Link to comment Share on other sites More sharing options...
Sebkinne Posted March 21, 2013 Author Share Posted March 21, 2013 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. Quote Link to comment Share on other sites More sharing options...
robfields Posted March 21, 2013 Share Posted March 21, 2013 Yes. Apply the fix I posted above. My bad all is good again. Thanks Sebkinne. Rob Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.