Secure Shell Server Configuration Help
Hello all expert Linux administrator, i truly noob to Linux world.
I am a IT student. Therefore, i would like to learn how to configure ssh server. I have putty and ssh installed bu ti don't know how to configure it. I have google it but i don't really understand. Therefore, i post this thread in order to get some simple help. Thanks for your help. Your help is greatly appreciated by me and others. |
The configuration file should be at /etc/ssh/sshd_config
|
man sshd_config
|
use keygen-ssh command
|
Can u show me some step by step guide ?
|
you can configure it by editing the file /etc/ssh/sshd_config you can find there various of options to enable and disable it
|
camh and I gave you all the information you `should` need. combine that with Google and you should be golden. We're not here to hold your hand, so instead of waiting to see if some other poster will decide to, you should do the reading we've pointed you at and try to do it yourself. You'll learn far more that way.
|
Quote:
For a start: there are several text-editors in your system, which you can use to edit plain-text configuration files. sshd ("SSH server") has it's configuration settings in a plain-text file /etc/ssh/sshd_config that you can edit. The editor you choose is not important, but editing sshd configuration can't be done as unprivileged user, so you need to edit the file as root. This can be achieved in several ways, but basically you'll just need to get a text editor open with root privileges, then open the file mentioned earlier, do the changes, save and exit. From the commandline this should do (because vi or vim is a text editor found in almost if not every UNIX[-like] system): open a terminal emulator, or log into a console, and command this Code:
su Code:
:wq The file is somewhat self-descriptive, but if you want more information, you can do a web search. Also the man pages found on most if not all UNIX[-like] systems may help you out; commanding the previously mentioned line like below shows you (if available) the man page of sshd_config configuration file: Code:
man sshd_config I'm not 100% sure (can't remember, actually) if you need to restart the sshd service after editing the configuration, but it doesn't harm to do that. This depends a bit on the system, so in this case you will want to consult your distributions' website, help documentation or just do a web search for how to start, stop and restart (in this case restart) services on the system. |
All times are GMT -5. The time now is 07:59 PM. |