Error : 'cat' is not recognized as an internal or external command

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.


Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA10g000000POPhCAO&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail

Choose Language