![]() |
Re: linux noob requires help with openssh
what does
Code:
netstat -a | grep ssh you should get a line containing "0.0.0.0:ssh", meaning that the daemon is listening on all interfaces on port 22 (="ssh"). if that is not the case, your setup has an error. you could also try re-setting the password, using these two commands: Code:
sudo gainroot and, as a last resort, you could delete the /root/.ssh folder after deinstalling SSH, and then reinstall. |
Re: linux noob requires help with openssh
Ok,
I got the line tcp 0 0 0.0.0.0:ssh 0.0.0.0:* |
Re: linux noob requires help with openssh
What happens when you try and connect? Connection refused?
|
Re: linux noob requires help with openssh
yes. connection refused. nothing, just got another retry
|
Re: linux noob requires help with openssh
think i will try to change root passwd
|
Re: linux noob requires help with openssh
Sounds good. "connection refused" would be when there's nothing listening. If it's asking you for the password then it's listening.
|
Re: linux noob requires help with openssh
yes, its listening, unfortunately not on me :)
tried to change root password, still the same result |
Re: linux noob requires help with openssh
@Dave
did you try reinstalling, but removing the .ssh folder in /root between de- and reinstallation? also, what program do you use to connect? maybe your N900's encryption keys have changed and your program thinks there's an attack or something... and you didn't change anything in /etc/ssh/sshd_config, right? |
Re: linux noob requires help with openssh
I did not removed any folder.
First, I installed ssh bundle from file manager created a password. ssh with winscp worked fine. after that. unistalled server and klient 8 kb from file manager, and client from file manager. still worked with winscp. now installed rootsh. typed root and stopped server and then restarted server. now. i couldent log in any more. tryed to reconfigur my wlan and wifi(still the same ip on comp and n900 but with another wep. and atlast 10 min ago. tried to change the root password. im using winscp from win vista. |
Re: linux noob requires help with openssh
Quote:
seems like rootsh did something the openssh server doesn't like... try this: deinstall both remove the folders /root/.ssh and /etc/ssh if they exist - by this you purge every configuration so you can start fresh Code:
rm -rf /root/.ssh install rootsh first install openssh server edit: i just realized - winscp has no shell client, its only intended for copying. could you please try connecting with putty as well? |
All times are GMT. The time now is 04:02. |
vBulletin® Version 3.8.8