hi all, many thanks for the replies
i have edit sshd_conf file in /etc/ssh
below what i changed
PermitRootLogin yes
AllowUsers myuseraccount
after restart the service i manage to login from user
, but still Access Denied using root
From the server desktop environment under Systems Setting => Security Level, I have enable SSH and restart, still the same, and i doubt this has any effect at all
From my windows pc, using internet explorer i can browse the firewall settings (we using Symantec firewall) with Admin login and can see that SSH and port 22 is allowed.
Below is what i capture from iptables -L , but im not sure what does it mean =/
[root@mail root]# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT all -- anywhere anywhere
ACCEPT all -- anywhere anywhere
Chain FORWARD (policy ACCEPT)
target prot opt source destination
ACCEPT all -- anywhere anywhere
ACCEPT all -- anywhere anywhere
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
[root@mail root]#
using nestat command i get this
[root@mail root]# netstat -alnp | grep ::22
tcp 0 0 :::22 :::* LISTEN 2599/sshd
but we dont have a webserver we only use it for mail server
should i change anything in this iptable? thanks. reason i want to enable root login so that i can access it from my house