Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am new to putty. I am pushing files to a customer with sftp command that includes @ sign in the command. e.g. sftp (login@IP Address) the session will not allow @ on the command line. It bounces me to the next line. Can anyone tell me how to correct this.

share|improve this question

migrated from Feb 11 '10 at 17:11

This question came from our site for professional and enthusiast programmers.

Your session eating @'s is very bizarre (what keyboard layout are you using?), but you can also use -o.

% sftp -o 'User foo'


% sftp -o User=foo

is equivalent to

% sftp
share|improve this answer

Should probably be on super user, but just do

sftp <ip-address>
login: <login>
password: <password>
share|improve this answer

If you are using a British keyboard with a machine set to a U.S. locale (or vice-versa) you might find that " and @ are swapped.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.