SSH Services Command to Start
Hello Linux Guru's
Is there any alternate command to start acceptance SSH connection instead of using GUI: Start>System Settings>Security Level |
Hi -
1. Just to be clear: once you set it with the GUI, it *stays* set, doesn't it? You don't have to keep resetting it unnecessarily, do you? 2. But yes, you can do it without the GUI, too. "chkconfig" is one alternative: http://www.ruf.rice.edu/~rlug/help/tips-ssh.html 'Hope that helps .. PSM |
Thanks for your answer paul, honestly I dot get your term *stays*, my exact problem afetr I set the redhat 9 and finished the sshd_conf configuration the last step I tried is putting check on ssh services on the Start>System Settings>Security Level using GUI. What if I build again another Redhat 9 Unit with only using command line and no GUI environment?
I've also tried unchecking agauin the ssh services in Start>System Settings>Security Level and input: chkconfig --add sshd chkconfig --level 35 sshd on and I cannot connect the SSH afterall |
Hi -
You're mixing apples and oranges and pears and kumquats here. Let's break it down: Quote:
PS: I really believe that, for the most part, the "context" question is asked in, is every bit as important as the question itself. |
FYI; if you mean RHL 9 (codename Shrike), that hasn't been updated in years, so its wide open to exploits and can struggle with modern HW.
Consider Fedora 12 or Centos 5.5 (free version of RHEL). http://en.wikipedia.org/wiki/Red_Hat_Linux http://en.wikipedia.org/wiki/Red_Hat_Enterprise_Linux http://en.wikipedia.org/wiki/CentOS http://en.wikipedia.org/wiki/Fedora_(operating_system) |
SSHD
Hello Linux Gurus
Same problem again I really can't solve it I am a Linux beginner I want to automatically start SSH services in my redhat 9. In startup screen it appears to be started and I also reconfigured sshd_config and /etc/rc.d/init.d/sshd restart. My RH9 is currently in runlevel 5 and my remedy is to go in Start>System Settings>Security Level and check SSH service. What if I reformat it and run in a complete CLI only? is there any command to alter the Start>System Settings>Security Level and check SSH procedure? Please Help me..... |
I doubt very many people will remember the menu structure of RH9. It is ancient and you should upgrade it if you will connect it to a network.
There are posts on this site you can search for on how to make ssh more secure. Read the /etc/ssh/sshd_config configuration file. It is well commented. You should 1) disable root logins; 2) use public key authentication; 3)configure the AllowUsers entry for your username, and if the ssh port is exposed to the internet (directly or indirectly via another host) 4)change the default port that ssh uses. |
To Make SSH start at the boot time with specified runlevel:
chkconfig --level 235 ssh on alternative: Open /etc/rc.local file and add at the last line: service sshd start or /etc/init.d/sshd start |
Quote:
Please at all costs if possible; consider RHEL 5, CentOS 5 or Fedora 12 (or 13 which is out soon) - these are active, supported distro's so that if you have problems there are specialists you can turn too. |
All times are GMT -5. The time now is 05:41 PM. |