0

System info

uzair@zaidi:~/Desktop/tftpboot$ uname -a Linux zaidi 3.11.0-20-generic #35~precise1-Ubuntu SMP Fri May 2 21:35:48 UTC 2014 i686 i686 i386 GNU/Linux uzair@zaidi:~/Desktop/tftpboot$ 

I get this error when using sftp:

#sftp [email protected] [email protected]'s password: Permission denied, please try again. [email protected]'s password: 

even if enter correct password(of root)

3
  • 2
    What does auth.log say? Commented May 20, 2014 at 13:46
  • 4
    It might be a typo in the title of your question, but you do realize that sftp is not a tftp client? They're different protocols. Commented May 20, 2014 at 14:00
  • Wait, what? sftp is for ssh, not tftp. You're using the wrong client. Commented May 20, 2014 at 14:00

1 Answer 1

1

FTP, SFTP and TFTP are different protocols (as is the lesser-used FTPS, not to mention FTP over SSH). sftp is a client for the SFTP protocol, which operates over SSH. Evidently, you aren't authenticating correctly to the SSH server on 192.168.1.9, presumably because you're using TFTP credentials.

To use the TFTP protocol, use the tftp command. A TFPT server must be running. TFTP has no authentication, just specify the host name or IP address.

If you did mean to use SSH, make sure to enter the correct password — of the zaidi user, not of root, since you're specifying zaidi for the user name.

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.