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)"


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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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