I am trying to copy a show tech from an ASA to a remote server via FTP. My issue is that the password I am providing has a '@' and it is being interpreted incorrectly by the CLI. I have tried putting a '\@' but the command still fails.

Anyone have any luck with this?

This works

  show tech-support file ftp://username:[email protected]/ASA-SHOW-TECH

This Does not work

  show tech-support file ftp://username:p@[email protected]/ASA-SHOW-TECH

4 Answers 4


The problem here is that the device is interpreting the first @ as the delimiter between the credentials and the FTP server address.

Perhaps configuring the username and password in global-configuration mode and then redirecting the show tech without specifying the credentials would do the trick. Otherwise, and I know this is a wimpy solution, changing the password to not include that one character may be the easiest and perhaps most secure way of working around this issue.

  • Can you specify how you set ftp username and password in the global config? Thanks
    – Blake
    Jun 17, 2013 at 21:50
  • 2
    I am not sure if it is the same syntax on an ASA, but on a Cisco router you use the commands ip ftp username and ip ftp password in global configuration mode to set a default username and password for FTP connections. Jun 17, 2013 at 21:56

On IOS you can enter control-v to escape the next character. This lets you enter a question mark without pulling up help. Don't if that works on ASA but might be worth a try.

  • This is ASA not IOS
    – Blake
    Jul 31, 2013 at 2:40
  • That might explain why I said "Don't know if that works on ASA"... Aug 6, 2013 at 18:47

It does not seem like it is supported, so the work around is to just change the password that does not have the @ special character if you need to automate the process.


This works for ios not sure if it will work for the ASA


  • 1
    Please consider adding more details to this answer so it remains useful even if the linked document is removed or changes.
    – Teun Vink
    Aug 4, 2017 at 11:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.