Results 1 to 6 of 6
I've been having some grief with ssh. If I leave it set to run with defaults - i.e. at port 22 I have no issues. I am running behind a ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 09-26-2005 #1
SSH Port Configuration - Setting Higher Port Numbers
Am I missing something obvious here? I'd feel much better if I could get this running on a higher, less obvious port number. Any documentation I can find on ports seems to be relating to portforwarding and not reconfiguring existing ports. Any help appreciated.
- 09-26-2005 #2
Did you tell the SuSE firewall to open the new port too? Normally, if you tell your firewall config to open the SSH port, it opens port 22, it doesn't monitor connection types to see what kind of service they are - i.e. it cannot open up access for data streams that carry SSH connections on any port.
- 09-26-2005 #3
I opened the port seperately in the firewall configuration. That's kind of what's bothering me, because if it was NAT I would guess that I would get no response from ssh. It seems odd that I'm getting connection refused. Do you know where security settings for ssh are - ssh_config seemed a little sparse.
- 09-26-2005 #4
Silly me, you're running and ssh server, and you're editing /etc/ssh/ssh_config to control it. I think you need to edit /etc/ssh/sshd_config and change settings in there for the server (dont forget to restart the ssh service).
Change the 'Port' line at the top of the file, and if you browse down the file, you'll find all sorts of things with which you can adjust the security, including the ever popular 'PermitRootLogin' which should be set to 'no'. To read the man page, use 'man sshd_config'
- 09-26-2005 #5I think you need to edit /etc/ssh/sshd_config and change settings in there for the server (dont forget to restart the ssh service).
- 09-26-2005 #6