Friday, March 26, 2010

ssh connection refused

tried to scp or ssh from one openSUSE 11.2 (host A) to another openSUSE 11.2 (host B).

On host A I get the following:

# scp -vvv file.pdf user_name@192.168.1.7:/tmp
Executing: program /usr/bin/ssh host 192.168.1.7, user user_name, command scp -v -t /tmp
OpenSSH_5.2p1, OpenSSL 0.9.8k 25 Mar 2009
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to 192.168.1.7 [192.168.1.7] port 22.
debug1: connect to address 192.168.1.7 port 22: Connection refused
ssh: connect to host 192.168.1.7 port 22: Connection refused
lost connection

On host B nothing in the logs, for testing I turned off the firewall to make sure it's not the culprit, although port 22 was already opened anyways. Didn't help.

Solution - on host B (192.168.1.7) :
---------

# rcsshd start

No comments:

Post a Comment