SSH keys

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
Post Reply
Bendegu
Level 1
Level 1
Posts: 1
Joined: Thu Mar 08, 2018 4:19 am

SSH keys

Post by Bendegu » Thu Mar 08, 2018 4:32 am

Hi!

I have a problem with a private key.

The private key has not password, but when I would like use with scp command, I get a prompt password, why? How can I solve this problem?

Code: Select all

scp -i /path/private_key_file -P portnumber user@remote_server:/path/remote/file /path/local/folder/
Enter passphrase for key /path/private_key_file'':
user@remote_server's password:
I use this private key with WinSCP software In Windows. There is working!
Why is not working in Linux?

Post Reply

Return to “Newbie Questions”