Hello,
I installed Gentoo 2005.1 two days ago, but i am still unabled to access to SSH via remote... my IP is static, i went through the sshd_config in /etc/ssh/.
but i am still having problem with ssh, when i login and for short time and the message alert said: "Network Error: Software caused connection abort" so i try to re-ssh. and the message apeared "Network error: connection refused".
I checked my chmod on /var/empty it is 644 and /var/run is 755. also own is root root.
i also check my sshd passwd from /etc/passwd
Code:
sshd:x:22:22:sshd:/dev/null:/bin/false
it all match, but i am still having problems. I also re-emerge ssh - but still the same. and I have restart my ssh
Code:
# /etc/init.d/sshd restart
stop and start all ok. but same problem :(
any solution?? please get back to me. coz i really need to use remote ssh heh.
thanks
What do "netstat -ntulp|grep :22" and "iptables -nL" return? Anything in the logs?
thanks for getting back to me sooner, I'll checking out once i get home from work heh :)
dude if you notice a post is missing, repost it
i have just migrated the entire forums to fedora core release 4
this is a test, i have not decided if i will keep this or the laptop.
cheers
anyweb
Quote:any solution?? please get back to me. coz i really need to use remote ssh heh.
Check the /etc/hosts.allow and /etc/hosts.deny ..
Ah okies thanks anywab :)are you going
i just installed the iptables
Code:
# iptables -nL
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
about the /etc/host.allow and /etc/host.deny isn't in the /etc :(
SOLVED the problem so far
I went to /etc/hosts
and i added my laptop's IP and it works.
you mean
/etc/host.allow
?
Quote:you mean
/etc/host.allow
?
no. just /etc/hosts
but the problem isn't solve :( it booted me off with software cause connection abort.. the /etc/host.allow & /etc/host.deny isn't there. do i have to create one?
shoudl be /etc/hosts.allow
not /etc/host.allow
check again
cheers
anyweb