Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

349
Views
(Scp - Permission Denied (Public Key)

I am trying to use the linux command Scp to get a file of a server xx.xx.xxx.xx and onto my Desktop. Here is my syntax

scp admin@xx.xx.xxx.xx:/scraper/summary.csv /home/barns/Desktop

I am getting the error

'permission denied (publickey)'

Is my syntax incorrect?

over 4 years ago · Santiago Trujillo
2 answers
Answer question

0

Yes, it's correct. Run the command with -vvv option to find out at what stage does it break exactly. It may be either a local issue (like private key being world-readable), remote (like your public key not being found), or something during the exchange (like no common ciphers). The debug output should give you information you need.

over 4 years ago · Santiago Trujillo Report

0

 scp admin@xx.xx.xxx.xx:~/scraper/summary.csv /home/barns/Desktop

I needed a ~ symbol before the directory name

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!