![]() |
Need help cleaning up OpenSSH server install.
So I was installing OpenSSH server on my N900.. made it past the point of it asking me for a new root password.
Then I dropped my phone, the back flew off and the battery came out. :( The N900 started up fine again, but the openssh server does not work (I expected that to happen since it never truly finished installed) I can "uninstall" it fine from the app-manager, then attempt to reinstall it. When I do, it tells me the installation fails, but it appears yet again in my uninstall list. Upon attempting to ssh to the n900 (localhost) it fails to connect, so it's not working. Any ideas or help on how I can clean up this botched install and start clean with it? |
Re: Need help cleaning up OpenSSH server install.
There are 3 installers in the repos. I had a simmilar issue and I managed to get rid of it by playing with those.
Dunno if this will help but give it a try. |
Re: Need help cleaning up OpenSSH server install.
Is there anything in Application Manager logs?
or the output of "apt-get install openssh-server"? |
Re: Need help cleaning up OpenSSH server install.
Root password needed so you could login, not for it to work. For example I use rsa auth instead.
Quote:
Also it might be because sshd is not started after installing package, reboot device or run this Code:
/etc/init.d/ssh start |
Re: Need help cleaning up OpenSSH server install.
have you try cleaning the install??
i.e. sudo apt-get remove --purge openssh-server in xTerm? Hopefully that will bring it back to a state where you can start off scratch again. |
Re: Need help cleaning up OpenSSH server install.
1. Check is it on or off:
a) open x-term b) type "ps | grep sshd" if you will get line with "/usr/sbin/sshd" It is working. 2. type "rm -R /root/.ssh" it will remove all settings for ssh |
Re: Need help cleaning up OpenSSH server install.
My personal guess is it needs a dpkg-reconfigure .. but won't know without a log report or command output.
|
Re: Need help cleaning up OpenSSH server install.
Quote:
from the N900. There are corrupted files on the N900 somewhere. I need to figure out what all I need to clean-up |
Re: Need help cleaning up OpenSSH server install.
Quote:
|
Re: Need help cleaning up OpenSSH server install.
dpkg: error processing openssh-server (--purge):
subprocess post-removal script returned error exit status 1 Errors were encountered while processing: openssh-server E: Sub-process /usr/bin/dpkg returned an error code (1) |
All times are GMT. The time now is 06:35. |
vBulletin® Version 3.8.8