Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm having a remote server running SSH, I use the scp from my local computer like this: scp filename.txt username@IP:Port:home/username

it asks for the password, I supply it, he doesn't accept it for 3 times and then I get "Permission denied (publickey,gssapi-with-mic,password)"

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

Enter the correct password.


Also, check the system log of your server. Try connecting to a sudo sshd -rddp 222. Try connecting from a different PC.

share|improve this answer
add comment

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.