You are not logged in.

#1 2015-10-22 13:21:36

fagus
Member
Registered: 2015-10-19
Posts: 10

ssh server doesn't work

I have the following problem: I've installed ssh on my archlinux-computer and I can login from my archlinux-machine in other computers on my network. But if I try it the other way, it doesn't work. I get this message Eg: ~$ ssh archie@192.168.10.18 -> ssh: connect to host 192.168.10.18 port 22: Connection refused.

I've been looking in https://wiki.archlinux.org/index.php/Secure_Shell and on the internet, but I can't figure it out. Ssh works both ways with all my other machines.

Can someone help me?
Thanks!
fagus

Offline

#2 2015-10-22 13:23:23

ayekat
Member
Registered: 2011-01-17
Posts: 1,590

Re: ssh server doesn't work


pkgshackscfgblag

Offline

#3 2015-10-22 13:25:02

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,544
Website

Re: ssh server doesn't work

Is sshd running on the host?

From one of the other computers on the network can you nmap the target host and see port 22 open?


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#4 2015-10-22 14:10:04

fagus
Member
Registered: 2015-10-19
Posts: 10

Re: ssh server doesn't work

Solved! Thanks a lot! I used the wrong command for enabling/starting sshd. Logged in as archie it connects, logged in as root it doesn't. But SSH on archie and then from the remote machine su to root works pretty well. Thanks

Offline

#5 2015-10-22 14:15:10

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,544
Website

Re: ssh server doesn't work

fagus wrote:

Logged in as archie it connects, logged in as root it doesn't.

That's probably because you followed the good advice on the wiki.  However you should understand what you are doing before you do it.  If you really want to ssh in as root, you can change that setting - but I'd advise against it.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

Board footer

Powered by FluxBB