I need to connect to an sftp server from Mac OS X and the username given is an email address (someone@example.com)
So my connection string looks like:
sftp someone@example.com@ftp.example.com
The connection does not accept the password so I assume it is confused by the double “@”.
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.
What is the proper way to escape this in order to get it to work.
Unfortunately the sftp command on Mac OS X does not allow me an option for interactive username prompt.
Add an entry for the host in
~/.ssh/configthat has the desired name.Then just SFTP to
stupidadminhostinstead, with no given username.