Answered step by step
Verified Expert Solution
Question
1 Approved Answer
This assignment will require a little bit of research on your part as you're going to change a configuration file to affect the way SSH
This assignment will require a little bit of research on your part as you're going to change a configuration file to affect the way SSH server operates. Some of these options are already listed in the configuration file such as listening port, but denying/allowing a user is not. Make sure you have at least two accounts on the VM acting as your SSH server - one which should be allowed to log in via SSH and the other which should not later. Install OpenSSH server: sudo aptitude install openssh-server Make the following changes to the sshd_config file. If you're having trouble locating the file, you could Google for the location or 'find' the file. 1. SSH should listen on port 555 2. SSH should only use SSH Protocol 2 3. SSH should allow only one of your accounts to login; the other account should be denied 4. Deny root logins meaning root cannot login to the server via SSH 5. Make accounts with empty passwords unable to login 6. Enable the option which displays a banner when logging in. Create your own banner and have fun with it! For the changes in the configuration file to take effect, restart the SSH service so the configuration file is reread: sudo /etc/init.d/ssh restart Deliverables: 1. Your changed sshd_config file (NOT a screenshot of your config file! I want the file) 2. A screenshot of the terminal showing one user account being denied and the other successfully logging in which should also display your custom banner. Zip those two files together to firstName.lastName.5.zip and that's your submission!
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started