Monday, March 22, 2010

Configuring SSHD in Ubuntu

OpenSSH is a freely available version of the Secure Shell (SSH) protocol family of tools for remotely controlling a computer or transferring files between computers. Traditional tools used to accomplish these functions, such as telnet or rcp, are insecure and transmit the user's password in cleartext when used. OpenSSH provides a server daemon and client tools to facilitate secure, encrypted remote control and file transfer operations, effectively replacing the legacy tools.

*sudo apt-get install openssh-server

Prior to editing the configuration file, you should make a copy of the original file and protect it from writing so you will have the original settings as a reference and to reuse as necessary.

*sudo cp /etc/ssh/sshd_config /etc/ssh/sshd_config.original
*sudo chmod a-w /etc/ssh/sshd_config.original

After making changes to the /etc/ssh/sshd_config file, save the file, and restart the sshd server application to effect the changes using the following command at a terminal prompt:

*sudo /etc/init.d/ssh restart

More related info @ https://help.ubuntu.com/7.04/server/C/openssh-server.html

No comments:

Hack the Box Blue

https://arcy24.medium.com/hack-the-box-blue-f5ae5b602a5c