Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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 stackoverflow.com Feb 11 '10 at 17:11

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

3 Answers 3

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

% sftp -o 'User foo' bar.com

or:

% sftp -o User=foo bar.com

is equivalent to

% sftp foo@bar.com
share|improve this answer

Should probably be on super user, but just do

sftp <ip-address>
login: <login>
password: <password>
sftp>
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

 
discard

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