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

451
Views
How can i upload file by command line via sftp?

I know how to get remote file via sftp.

ex:

sftp root@10.0.0.1:/path/to/file.txt localfile.txt

How can i upload file to remote server?

(I need use this command in my bash script.)

over 4 years ago · Santiago Trujillo
2 answers
Answer question

0

Also think about using SSH public/private keys which can avoid you to have to enter a password for your automated file exchanges.

You can use the command "ssh-keygen" to generate those keys.

over 4 years ago · Santiago Trujillo Report

0

$ scp root@10.0.0.1:/path/to/file.txt localfile.txt
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!