You are not logged in.
When I first installed arch I had a bit of trouble with rsync and now I am having a lot of trouble with ssh.
I can ssh out of my arch machine fine into my ubuntu box but I cannot ssh from my ubuntu machine to my arch machine.
I cannot use rsync from my ubuntu box to arch either but it works fine the other way round.
When I try the cursor just flashes and nothing happens.
Ater 5 minutes or so I get the message
ssh: connect to host 192.168.1.20 port 22: connection timed out
I have NOT set up password-less ssh.
I have tried disabling the firewall I have in arch (GUFW) which changed nothing.
(ssh is specified as an exception in the firewall list.)
I have tried re-installing openssh and I do have sshd specified in my daemons array.
I have tried starting sshd manually and it starts without errors.
I have tried the following:
( the username is the same on both machines)
ssh 192.168.1.20
ssh 192.168.1.20 -l llawwehttam
ssh llawwehttam@192.168.1.20
And get nothing.
I get a ping signal fine though.
EDIT: Before anyone mentions it
my /etc/hosts.allowlooks like:
# let everyone connect to you
sshd: ALL
and my /etc/hosts.deny:
ALL: ALL: DENY
Last edited by llawwehttam (2010-02-24 20:02:09)
Offline
Did you actually start sshd? It doesn't run by default just because you install it.
Offline
Yes. I added to to the DAEMONS array and tried manually starting it with
llawwehttam@Deadlock:/etc/ssh$ sudo /etc/rc.d/sshd restart
:: Stopping Secure Shell Daemon [DONE]
:: Starting Secure Shell Daemon [DONE]
I also see it start on boot.
Last edited by llawwehttam (2010-02-24 19:56:49)
Offline
Sorry about that......... Its fixed and the problem was me not being careful enough.
I feel very stupid but the problem was with the firewall.
Port 22 was set as Deny NOT allow.
When I added the rule I didn't check to see.
Sorry again if I wasted anyones time.
Offline