login about faq

I am trying to use the Tectia sftpg3 command line utility on a UNIX client to connect to a server, but the username includes the "@" symbol because the domain has to be specified. With the generic sftp utility I can accomplish this using the syntax "sftp -o user=username@domain servername", but the Tectia client doesn't have that option and it tries to interpret everything after the first "@" symbol as the server name.

I have tried:

sftpg3 username@domain@servername
sftpg3 username\@domain@servername
sftpg3 username/domain@servername
sftpg3 username\\domain@servername
sftpg3 'username@domain'@servername

SSH key authentication isn't an option so I can't bypass it that way.

asked Mar 15 '13 at 15:48

kupacmac's gravatar image


edited Mar 15 '13 at 15:49

The correct syntax for username with @ in it like username@ad.example.com when server is part of a Windows Domain is

sftpg3 --user=username@domain servername

To see all available command-line client options

sftpg3 --help

Also you can get a username prompt if username contains some special characters misinterpreted by the shell

sftpg3 @servername

answered Jan 23 '19 at 12:33

SSH%20KB's gravatar image


edited Jan 23 '19 at 12:37

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: Mar 15 '13 at 15:48

Seen: 8,913 times

Last updated: Jan 23 '19 at 12:37

All user contributed content licensed under the cc-by-sa license.
Powered by OSQA.