Problem with SSHd [Still Prob] - Printable Version +- Linux-Noob Forums (https://www.linux-noob.com/forums) +-- Forum: Linux Server Administration (https://www.linux-noob.com/forums/forum-8.html) +--- Forum: Remote Access (https://www.linux-noob.com/forums/forum-88.html) +--- Thread: Problem with SSHd [Still Prob] (/thread-2444.html) Pages:
1
2
|
Problem with SSHd [Still Prob] - Oroshi - 2005-09-07 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 Problem with SSHd [Still Prob] - z0ny - 2005-09-07 What do "netstat -ntulp|grep :22" and "iptables -nL" return? Anything in the logs? Problem with SSHd [Still Prob] - Oroshi - 2005-09-07 thanks for getting back to me sooner, I'll checking out once i get home from work heh :) Problem with SSHd [Still Prob] - anyweb - 2005-09-08 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 Problem with SSHd [Still Prob] - znx - 2005-09-08 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 .. Problem with SSHd [Still Prob] - Oroshi - 2005-09-08 Ah okies thanks anywab :)are you going i just installed the iptables Code: # iptables -nL about the /etc/host.allow and /etc/host.deny isn't in the /etc :( Problem with SSHd [Still Prob] - Oroshi - 2005-09-08 SOLVED the problem so far I went to /etc/hosts and i added my laptop's IP and it works. Problem with SSHd [Still Prob] - anyweb - 2005-09-09 you mean /etc/host.allow ? Problem with SSHd [Still Prob] - Oroshi - 2005-09-09 Quote:you mean 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? Problem with SSHd [Still Prob] - anyweb - 2005-09-09 shoudl be /etc/hosts.allow not /etc/host.allow check again cheers anyweb |