title: command line sftp: email address as username
body: <p>I need to connect to an sftp server from Mac OS X and the username given is an email address (someone@example.com)</p>
  
  <p>So my connection string looks like:</p>
  
  <pre><code>sftp someone@example.com@ftp.example.com
  </code></pre>
  
  <p>The connection does not accept the password so I assume it is confused by the double "@".</p>
  
  <p>I tried to escape the first "@" with "\@" But that crashed the sftp server and would only have an effect for the shell I'd think.</p>
  
  <p>What is the proper way to escape this in order to get it to work. </p>
  
  <p>Unfortunately the sftp command on Mac OS X does not allow me an option for interactive username prompt. </p>