The end server expects the username to come as Usertype\username@IPaddress in SFTP. For e.g. command is given as stfp Admin\primary@ But it does not work.

Is there any other option using sftp?

  • 5
    Try it with two backslashes. sftp Admin\\primary@
    – Peschke
    Sep 10 '15 at 6:40

The backslash is the so called escape character and needs to be escaped itself if it appears on the command line or on other places where escape characters are processed.

A username with such an unusual character inside may cause problems in various situations. Better try to avoid it.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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