You are not logged in.
Pages: 1
Hi to everyone.
his is my 1st post and the second day I have bee playng with arch linux. I installed everythig up to gnome and everything worked just fine. Nevertheless I'm a newbie and I didn't manage to have sshd working. I followed the wiki but it simply fails to start (either at boottime or from commandline)
The error message is:
:: Starting Secure Shell Deamon [FAIL]
What can I do ?
Thanks in advance for any help
Paolo
Italy
Last edited by kayard (2007-09-30 16:27:50)
Offline
well it might have something to do with my network config since i cannot ping my router even though IFCONFIG ETH1 output seems fine. ROUTE output seems fine too. Bringing down ETH1 and UP again followed by ROUTE ADD DEFAULT GW 192.168. xxx.xxx doesn't help either. DHCPCD ETH1 didn't work too...
Last edited by kayard (2007-09-30 12:48:17)
Offline
I managed to fix the network problem (ehich apparently occurred after my first attempt to start sshd) but the problem remains. I cannot start sshd. Any idea ? i searched in the forum and seemed that someone else had the same problem, solved it but didn't reported the solution.
Thanks
Offline
Run as root:
/usr/sbin/sshd -ddd -D
Output from this command may help you diagnose the problem.
Last edited by robertp (2007-09-30 13:38:38)
Offline
Well, thanks for your advice. Among other things which does not seem critical (complains about not having the keys) I get this error message:
Bind to port 22 on 0.0.0.0.
Bind to port 22 on 0.0.0.0. failed: Address already in use.
Cannot bind any address.
I tried changng ListenAddress in the config file from 0.0.0.0 to my eth0 address (static) but didn't help.
For the record I have arch installed on another computer and sshd worked fine without changing anything (i mean it started then i couldn't connect because i haven't modified the .allow .deny files yet but at least it started)
What does it mean and what should I do ?
Offline
Try this guide http://home.comcast.net/~pudges-place/s … page1.html and see if it helps.
Pudge
Offline
Probably something is already using port 22 (maybe sshd is already running).
See output of:
nmap -sV -p 22 localhost
Offline
I'm not sure why but it works ... and Yes the reason why I was getting "FAILED" when trying to start sshd is because it was already working on port 22.
I didn't realized this earlier because I couldn't connect from another computer and I thought that was the reason while, in fact, was something else ...
(for the sake of knowledge during setup my ethernet card was eth1 and after setup the kernel set it up as eth0 but boot-time scripts didn't complain therefore the sistem booted flawlessy with a eth1 apparently working. Changing in rc.conf from eth1 to eth0 solved the problem)
By the way thanks for the guide and the nmap tip which will cam handy in the future.
Paolo
Offline
Pages: 1