Log in to ask questions, share your expertise, or stay connected to content. Don’t have a login? Join now.
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 22Protocol 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/sshcd /etc/ssh3. open the file with vivi sshd_config4. use the arrow keys to get to the appropriate line and type i to enterinsert modei5. 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:wqIf vi gets into a wierd state hit escape a few times and then :q! to quitwithout writting the file.8. Once the file has been written restart the sshd service.service sshd restart
© Copyright 2024 Hewlett Packard Enterprise Development LPAll Rights Reserved.