12-10-2015 11:18 PM - edited 03-10-2019 06:31 AM
Hi Team,
I've tried this step to disable the ips sshv1. I would like to know how to revert back in "#Protocol 2,1" configuration.
Here is the steps:
1) Assuming that you already have a service account created. Pls login via the service account.
2) Login to it's super user: su
then type in the password.
3) Modify sshd_config: vi /etc/ssh/sshd_config
Delete '#' and ',1' --> from the line: #Protocol 2,1
4) You should only see: Protocol 2
(NB: it was: #Protocol 2,1 before)
5) Save the changes.
6) Restart the SSH service: check under: /etc/init.d/ directory, you should see an ssh service.
To restart: /etc/init.d/ restart
7) Delete the version key file.
12-12-2015 07:50 AM
Hi John,
As you are changing the 'ssh_config' file by un commenting the '#protocol 2,1' and deleting 1 out of it; i believe that configuring the changes back to the old one would revert the process.
Modify sshd_config: vi /etc/ssh/sshd_config
#Protocol 2,1
Save the changes.
Restart the SSH service: check under: /etc/init.d/ directory, you should see an ssh service.
To restart: /etc/init.d/ restart
Delete the version key file.
Hope it helps.
Regards,
Akshay Rastogi
12-16-2015 02:15 AM
Hi Akshay,
everytime i put the "#" the error message is "# is not implemented" and also I cannot put the #Protocol 2,1
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide