cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
597
Views
0
Helpful
2
Replies

how to revert back the disabled sshv1 in ips

John
Level 1
Level 1

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.

2 Replies 2

Akshay Rastogi
Cisco Employee
Cisco Employee

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

Hi Akshay,

everytime i put the "#" the error message is "# is not implemented" and also I cannot put the #Protocol 2,1

Review Cisco Networking for a $25 gift card