I have two F7 computers on my LAN. Box7 will ssh into box6 but box6 can not ssh into box7? I use Firestarter, have tried stopping it in both computers to no avail.
Box6 will ping box7 but will not connect.
ssh box7 ssh: connect to host box7 port 22: Connection refused
ping box7 -c3 PING box7 (192.168.1.7) 56(84) bytes of data. 64 bytes from box7 (192.168.1.7): icmp_seq=1 ttl=64 time=0.615 ms 64 bytes from box7 (192.168.1.7): icmp_seq=2 ttl=64 time=0.267 ms 64 bytes from box7 (192.168.1.7): icmp_seq=3 ttl=64 time=0.264 ms
--- box7 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2000ms rtt min/avg/max/mdev = 0.264/0.382/0.615/0.164 ms
The symptoms with sftp are similar as might be expected.
What am I missing?
Bob Goodwin
What am I missing?
Is the ssh daemon running on the box you cannot ssh into?
That is my first thought.
On 7/30/07, John Pierce john.j35@gmail.com wrote:
What am I missing?
Is the ssh daemon running on the box you cannot ssh into?
I should have continued with.
chkconfig sshd --list
If it is off in the run lever of choice then:
chkconfig sshd on
service sshd start
Bob Goodwin wrote:
John Pierce wrote:
What am I missing?
Is the ssh daemon running on the box you cannot ssh into?
That is my first thought.
I'm glad I asked! That was it. service sshd status sshd is stopped
Now your next step is to see if it will be running after the next boot: chkconfig --list sshd and if it isn't going to be started at levels 2..5, then you probably left it out of the config at install, and there isn't a firewall rule for it either. Otherwise you stopped the process or it didn't start for some reason.
Try running "netstat -ap | grep ssh" as root on box7 to make sure that you have an ssh server (aka sshd) running.
-----Original Message----- From: fedora-list-bounces@redhat.com on behalf of Bob Goodwin Sent: Mon 07/30/2007 01:52 PM To: For users of Fedora Core releases Cc: Subject: uni directional ssh -
I have two F7 computers on my LAN. Box7 will ssh into box6 but box6 can not ssh into box7? I use Firestarter, have tried stopping it in both computers to no avail. Box6 will ping box7 but will not connect. ssh box7 ssh: connect to host box7 port 22: Connection refused ping box7 -c3 PING box7 (192.168.1.7) 56(84) bytes of data. 64 bytes from box7 (192.168.1.7): icmp_seq=1 ttl=64 time=0.615 ms 64 bytes from box7 (192.168.1.7): icmp_seq=2 ttl=64 time=0.267 ms 64 bytes from box7 (192.168.1.7): icmp_seq=3 ttl=64 time=0.264 ms --- box7 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2000ms rtt min/avg/max/mdev = 0.264/0.382/0.615/0.164 ms The symptoms with sftp are similar as might be expected. What am I missing? Bob Goodwin -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Bob Goodwin wrote:
I have two F7 computers on my LAN. Box7 will ssh into box6 but box6 can not ssh into box7? I use Firestarter, have tried stopping it in both computers to no avail.
Box6 will ping box7 but will not connect.
ssh box7 ssh: connect to host box7 port 22: Connection refused
ping box7 -c3 PING box7 (192.168.1.7) 56(84) bytes of data. 64 bytes from box7 (192.168.1.7): icmp_seq=1 ttl=64 time=0.615 ms 64 bytes from box7 (192.168.1.7): icmp_seq=2 ttl=64 time=0.267 ms 64 bytes from box7 (192.168.1.7): icmp_seq=3 ttl=64 time=0.264 ms
--- box7 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2000ms rtt min/avg/max/mdev = 0.264/0.382/0.615/0.164 ms
The symptoms with sftp are similar as might be expected.
What am I missing?
Bob Goodwin
I would first make sure sshd is running on Box 7: service sshd status
If it is, then take a look at /etc/ssh/sshd_config - check for an uncommented ListenAddress option.
You can also check the logs on Box7 to see if there is anything there from sshd...
Mikkel
Mikkel L. Ellertson wrote:
Bob Goodwin wrote:
I have two F7 computers on my LAN. Box7 will ssh into box6 but box6 can not ssh into box7? I use Firestarter, have tried stopping it in both computers to no avail.
Box6 will ping box7 but will not connect.
ssh box7 ssh: connect to host box7 port 22: Connection refused
ping box7 -c3 PING box7 (192.168.1.7) 56(84) bytes of data. 64 bytes from box7 (192.168.1.7): icmp_seq=1 ttl=64 time=0.615 ms 64 bytes from box7 (192.168.1.7): icmp_seq=2 ttl=64 time=0.267 ms 64 bytes from box7 (192.168.1.7): icmp_seq=3 ttl=64 time=0.264 ms
--- box7 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2000ms rtt min/avg/max/mdev = 0.264/0.382/0.615/0.164 ms
The symptoms with sftp are similar as might be expected.
What am I missing?
Bob Goodwin
I would first make sure sshd is running on Box 7: service sshd status
If it is, then take a look at /etc/ssh/sshd_config - check for an uncommented ListenAddress option.
You can also check the logs on Box7 to see if there is anything there from sshd...
Mikkel
sshd was not running! I won't miss that one again.
Thanks to all.
Bob Goodwin