Monitoring, Management & Location Tracking

 View Only
last person joined: one year ago 

Articles relating to existing and legacy HPE Aruba Networking products and solutions including AirWave, Meridian Apps, ALE, Central / HPE Aruba Networking Central, and UXI / HPE Aruba Networking User Experience Insight

Configuring AMP to only accept SSHv2 

Jun 09, 2014 01:14 PM

By default AMP will accept SSH v1 and v2 connection. If you wish to restrict command line access to SSHv2 you will need to edit a config file from the command line of AMP. 

The file you want to edit is /etc/ssh/sshd_config. In the file there is a section that says:

#Port 22
#Protocol 2,1 
#ListenAddress 0.0.0.0
#ListenAddress ::

You will want to edit it to say:

#Port 22
Protocol 2 
#ListenAddress 0.0.0.0
#ListenAddress ::

Please follow the instructions below. They will walk you through editing and saving the file.

1. SSH into AMP or login to the physical terminal.

2. navigate to /etc/ssh

cd /etc/ssh

3. open the file with vi

vi sshd_config

4. use the arrow keys to get to the appropriate line and type i to enter
insert mode

i

5. delete the # sign and the ,1 at the end of the line.

6. exit insert mode by pressing escape

<esc>

7. write the file and quit vi using the :wq command

:wq

If vi gets into a wierd state hit escape a few times and then :q! to quit
without writting the file.

8. Once the file has been written restart the sshd service.

service sshd restart

Statistics
0 Favorited
0 Views
0 Files
0 Shares
0 Downloads

Related Entries and Links

No Related Resource entered.