Results 1 to 10 of 15
I am running Redhat8.0. When I try to ssh from work to my home computer I get a "connection refused" error. I use to be able to do it before ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 02-20-2003 #1Just Joined!
- Join Date
- Feb 2003
- Posts
- 56
ssh connection refused
I am running Redhat8.0. When I try to ssh from work to my home computer I get a "connection refused" error. I use to be able to do it before with 7.2. I cant even telnet in.(not that I would want to) =) I checked and sshd is running. I even tried to ssh to myself at home and got the same error. If I try using my internal IP to ssh to myself it works. But I still cant seem to do it from work or home using my internet IP. Thanks
- 02-20-2003 #2Linux Engineer
- Join Date
- Jan 2003
- Location
- Lebanon, pa
- Posts
- 994
Sounds like you have a firewall blocking port 22.b Check iptables --list
- 02-20-2003 #3Linux Guru
- Join Date
- Oct 2001
- Location
- Täby, Sweden
- Posts
- 7,578
(Side note: Why do you use the long option names, genlee? Why not iptables -L?)
- 02-20-2003 #4Linux Engineer
- Join Date
- Jan 2003
- Location
- Lebanon, pa
- Posts
- 994
Because he probably doesn't know what iptables is or what -L would mean so if I use the long options, atleast he has some clue as to what is going on.
- 02-21-2003 #5Linux Guru
- Join Date
- Oct 2001
- Location
- Täby, Sweden
- Posts
- 7,578
I kind of suspected that. It's not really like you, though.
- 02-21-2003 #6Linux Engineer
- Join Date
- Jan 2003
- Location
- Lebanon, pa
- Posts
- 994
I am in the giving mood today
- 02-21-2003 #7Just Joined!
- Join Date
- Feb 2003
- Posts
- 56
iptables --list
Ok I did iptables --list and this is what I got...
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Thanks
- 02-21-2003 #8Linux Guru
- Join Date
- Oct 2001
- Location
- Täby, Sweden
- Posts
- 7,578
OK, that's strange. Can you send the output of netstat -antp, too?
- 02-21-2003 #9Linux Engineer
- Join Date
- Jan 2003
- Location
- Lebanon, pa
- Posts
- 994
Are you sure you have sshd running?
- 02-21-2003 #10Linux Guru
- Join Date
- Oct 2001
- Location
- Täby, Sweden
- Posts
- 7,578
Originally Posted by bionik



