Jump to content

This is the support site for Andrews & Arnold Ltd, a UK Internet provider. Information on these pages is generally for our customers but may be useful to others, enjoy!

DGA0122 Disable SSH: Difference between revisions

Content deleted Content added
Adsb (talk | contribs)
m Warn about the rtfd command
Adsb (talk | contribs)
Easier way to turn SSH on or off - needs engineer username on Web UI
Line 9: Line 9:
The CLI is fairly minimal, there is no manual :-( N.B. If you choose to play with the CLI, the '''rtfd''' command will reset the router to factory default setting, without any warning or Y/N prompt.
The CLI is fairly minimal, there is no manual :-( N.B. If you choose to play with the CLI, the '''rtfd''' command will reset the router to factory default setting, without any warning or Y/N prompt.


ssh can be disabled if you want, you can do this via ssh. ssh in to the router and paste the following which will disable the access:
ssh can be disabled if you want, you can do this via the web interface (at least with firmware 19.4) or via ssh.

== Web method ==
Login to the router using the ''engineer'' username and admin password. Select the ''System Info'' tile and the ''Configuration'' tab. Turn ''Local SSH'' on or off.

With Local SSH turned off, when you try to ssh, you'll get:
ssh: connect to host 192.168.1.1 port 22: Connection refused

To revert the change, use the above steps to turn Local SSH back on.

== SSH method ==
ssh in to the router and paste the following which will disable the access:
set InternetGatewayDevice.Services.X_000E50_AccessManagement.SSH.ServerAccess.1.Enable 0
set InternetGatewayDevice.Services.X_000E50_AccessManagement.SSH.ServerAccess.1.Enable 0