diff --git a/doc/user/installation.rst b/doc/user/installation.rst index 8f89c6c4f8..2310d397cd 100644 --- a/doc/user/installation.rst +++ b/doc/user/installation.rst @@ -314,7 +314,8 @@ options from the list below. Turn on the ability of FRR to access some shell options( telnet/ssh/bash/etc. ) from vtysh itself. This option is considered extremely unsecure and should only - be considered for usage if you really really know what you are doing. + be considered for usage if you really really know what you are doing. This + option is deprecated and will be removed on Feb 1, 2024. .. option:: --enable-gcov diff --git a/vtysh/vtysh.c b/vtysh/vtysh.c index 7885188483..acc984ced7 100644 --- a/vtysh/vtysh.c +++ b/vtysh/vtysh.c @@ -4014,6 +4014,9 @@ DEFUN (vtysh_traceroute6, return CMD_SUCCESS; } +#if CONFDATE > 20240201 +CPP_NOTICE("Remove HAVE_SHELL_ACCESS and it's documentation"); +#endif #if defined(HAVE_SHELL_ACCESS) DEFUN (vtysh_telnet, vtysh_telnet_cmd,