PDA

View Full Version : ssh


talkstock888
2006-02-22, 01:03 PM CST
hi room i try to change my ssh default port

netstat -an | grep 435 to check that port is take yet
not thing return then


cd /etc/ssh/sshd_config

i change ----> #Port22 from Port435 and restart ssh too
also i change my default ssh client port to 435 but do not get connected it.


Please with detail thanks

critter
2006-02-22, 01:05 PM CST
Do you have the firewall enabled? If you so don't forget to open the port.

talkstock888
2006-02-22, 01:07 PM CST
yeah i also open up 435 port in my router and enable it.

William Haller
2006-02-22, 01:11 PM CST
Did you remove the pound sign from in front of the Port spec i.e.
Port 435

talkstock888
2006-02-22, 01:18 PM CST
yeah i did from #Port 22 TO Port 435

Zigzagcom
2006-02-22, 03:10 PM CST
yeah i also open up 435 port in my router and enable it.

Did you open a hole for port 435 in the iptables firewall that is installed with linux?

talkstock888
2006-02-22, 03:21 PM CST
i do not think so how can i check it?

Firewing1
2006-02-22, 03:30 PM CST
See my server setup link in my sig for SSH help in detail plus brute-force attack prevention, but basically, runsystem-config-securitylevel and add this to the exceptions list:
435:tcp
Firewing1