"Error: unknown option -t" or "Error: unknown option -f"

  • 7021955
  • 12-Feb-2010
  • 02-Mar-2018

Environment

Reflection for Secure IT UNIX Server version 7.1 Service Pack 2

Situation

This technical note describes an issue in Reflection for Secure IT UNIX Server 7.1 SP2 with scp commands and some scp clients, which results in an error message: "Error: unknown option -t" or "Error: unknown option -f." The problem description and resolution are provided.

When an "scp1" client that uses RCP (for example, an OpenSSH scp client) attempts to transfer a file to or from Reflection for Secure IT UNIX Server 7.1 SP2, an error occurs:

PUT files:

scp <filename> user@host:
Error: unknown option -t

GET files:

scp user@host:<filename> <filename>
Error: unknown option –f

Note: This issue is specific to Reflection for Secure IT UNIX Server 7.1 SP2 (7.1.2.26) and has no security implications; earlier versions are not affected. Any scp command line client that uses sftp for file transfers is not affected. For example, scp transfers from Reflection for Secure IT UNIX Client or Reflection Windows products with the scp command line utility are not affected.

Resolution

This issue is fixed in beginning in version 7.1.2.27 for Reflection for Secure IT UNIX Server. Upgrade to the latest version available from the Downloads website.

Additional Information

Legacy KB ID

This article was originally published as Attachmate Technical Note 2488.