Error : 'cat' is not recognized as an internal or external command
21484
Created On 01/27/20 03:44 AM - Last Modified 06/03/25 02:47 AM
Symptom
- The following error is displayed when using SCP command to export firewall logs to a Windows SCP server.
> scp export log traffic to admin@10.10.10.10:/user1 start-time equal 2019/11/11@10:00:00 end-time equal 2019/11/11@11:00:00 administrator@10.10.10.10's password: 'cat' is not recognized as an internal or external command, operable program or batch file. Log export failure
Environment
- Palo Alto FirewallÂ
- Panorama.
- Exporting Logs.
Cause
Part of the SCP operation is the cat command which is a Linux command which Windows does not recognize and returns that error message.
Resolution
Need to install a utility like Cygwin which provides Linux functionality on Windows to use Windows SCP server or use a Linux based SCP server.