How to troubleshoot the local RADIUS/TACACS+ instance using SSH
In this topic, you will learn how to troubleshoot problems with the operation of the local RADIUS or local TACACS+ instance in a virtual machine by using the PuTTY application, the SSH protocol, and Linux shell commands.
The local RADIUS/TACACS+ runs on Linux, so you can use base Linux shell commands to troubleshoot it. For more information about local RADIUS, see the following topic: How do local RADIUS servers work?. For more information about local TACACS+, see the following topic: How does the Portnox Cloud TACACS+ service work?.
Connect to the virtual machine using PuTTY
In this section, you will learn how to configure the local RADIUS or local TACACS+ instance to work with SSH and then how to connect to it using the PuTTY application (for Windows).
- 
                    Make sure that the Enable SSH checkbox is active in the local RADIUS configuration or the TACACS+ configuration.
                     
- 
                    Connect to the instance using the PuTTY application:
                    
- Optional: 
                    If the above step returns an error, do as follows:
                    Note: Do this if you get errors in PuTTY such as: Unable to load private key (createkey failed), Permission denied, or No supported authentication methods available (server sent: publickey).
Troubleshoot using Linux commands
In this section, you will learn what Linux commands to use to troubleshoot the RADIUS or local TACACS+ virtual machine instance.
- 
                    Show CPU and memory usage refreshed in real-time:
                    top
- 
                    Show syslog in real-time:
                    tail -f /var/log/messages
- 
                    Show the entire syslog with the ability to scroll through it:
                    cat /var/log/messages | less
- You can also view the temporary log file located in the following location: /mnt/sda1/tce/portnox/log. However, this log file rarely contains useful troubleshooting information.
- 
                    To increase the level of detail shown in the logs, you can run the local RADIUS instance in debug mode:
                    sudo killall radiusd || sudo radiusd -Xsudo killall portnoxRadDaemon || sudo portnoxRadDaemon -d








