Active Topics

 



Notices


Reply
Thread Tools
SubCore's Avatar
Posts: 850 | Thanked: 626 times | Joined on Sep 2009 @ Vienna, Austria
#21
what does
Code:
netstat -a | grep ssh
say?

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
passwd
edit:
and, as a last resort, you could delete the /root/.ssh folder after deinstalling SSH, and then reinstall.
__________________
"What we perceive is not nature itself, but nature exposed to our method of questioning."
-- Werner Karl Heisenberg
 
Dave999's Avatar
Posts: 7,074 | Thanked: 9,069 times | Joined on Oct 2009 @ Moon! It's not the East or the West side... it's the Dark Side
#22
Ok,
I got the line
tcp 0 0 0.0.0.0:ssh 0.0.0.0:*
 
Posts: 236 | Thanked: 223 times | Joined on Oct 2009 @ NE UK
#23
What happens when you try and connect? Connection refused?
 
Dave999's Avatar
Posts: 7,074 | Thanked: 9,069 times | Joined on Oct 2009 @ Moon! It's not the East or the West side... it's the Dark Side
#24
yes. connection refused. nothing, just got another retry
 
Dave999's Avatar
Posts: 7,074 | Thanked: 9,069 times | Joined on Oct 2009 @ Moon! It's not the East or the West side... it's the Dark Side
#25
think i will try to change root passwd
 
Posts: 236 | Thanked: 223 times | Joined on Oct 2009 @ NE UK
#26
Sounds good. "connection refused" would be when there's nothing listening. If it's asking you for the password then it's listening.
 
Dave999's Avatar
Posts: 7,074 | Thanked: 9,069 times | Joined on Oct 2009 @ Moon! It's not the East or the West side... it's the Dark Side
#27
yes, its listening, unfortunately not on me

tried to change root password, still the same result

Last edited by Dave999; 2009-12-17 at 18:34.
 
SubCore's Avatar
Posts: 850 | Thanked: 626 times | Joined on Sep 2009 @ Vienna, Austria
#28
@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?
__________________
"What we perceive is not nature itself, but nature exposed to our method of questioning."
-- Werner Karl Heisenberg
 
Dave999's Avatar
Posts: 7,074 | Thanked: 9,069 times | Joined on Oct 2009 @ Moon! It's not the East or the West side... it's the Dark Side
#29
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.
 
SubCore's Avatar
Posts: 850 | Thanked: 626 times | Joined on Sep 2009 @ Vienna, Austria
#30
Originally Posted by Dave999 View Post
after that. unistalled server and klient 8 kb from file manager, and client from file manager.
FILE manager? not application manager?

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
rm -rf /etc/ssh
does the purging, but be VERY careful not to mistype anything! rm -rf can be dangerous.
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?
__________________
"What we perceive is not nature itself, but nature exposed to our method of questioning."
-- Werner Karl Heisenberg

Last edited by SubCore; 2009-12-17 at 19:19.
 
Reply


 
Forum Jump


All times are GMT. The time now is 18:55.