Friday, November 7, 2025
Latest:
  • What are the main differences between ApplicationContext and BeanFactory?
  • German B1 Word list
  • How does Lazy annotation work in Spring?
  • How Spring framework resolves circular dependencies?
  • German Pronouns with Nominative, Accusative, and Dative cases
Upokary

Upokary

Quality information

  • Health
  • Life
  • Fashion
  • Food
  • Code
  • English
  • বাংলা
Technology 

How to do SFTP using pem file from command line?

Published: May 17, 2019Last updated: May 16, 2020 Linux, sftp, SFTP using pem

A simple file transfer protocol ( SFTP ) is really essential in many cases. The regular SFTP is very straightforward. But when we want to do SFTP using an identity file (.pem) then the command is a bit different.

We will have to use ssh_option (-o) with the IdentityFile like below:

$ sftp -o IdentityFile=demo.pem ubuntu@ec2-52-25-231-230.eu-west-1.compute.amazonaws.com

You May Also Like

How to copy WordPress live database to local database?

May 17, 2019 beroza
Advanced JavaScript interview questions

Advanced JavaScript interview questions.

November 19, 2019 beroza

When to use Queue data structure?

January 6, 2023 beroza

How to switch PHP versions for apache2 and command line?

May 15, 2019 beroza

How to initialize List of String or List in Java?

July 18, 2020 beroza

How to Write Clean Code?

January 7, 2023 beroza

Find total number of Sundays between two dates in JavaScript

December 22, 2018 beroza

How to get system properties or environment variables in spring thymeleaf template?

February 27, 2019 beroza

How to convert date to timestamp in JavaScript?

April 15, 2021 beroza

Why Upokary?

Upokary.com is a useful application in everyday life. It provides very handy information regarding every aspect of life. Each and every tip of upokary.com is meant to make life better.

Upokary tools

  • Youtube thumbnail
  • Youtube video downloader

Useful Links

  • Handy code
  • Technology
  • People
  • Programming
  • Quote
  • Travel
  • WordPress
  • IELTS
  • Kids

Pages

  • Sitemap
  • Privacy policy
  • About us
  • Contact us

Support

For any kind of query or question please drop a message in the following email: upokary@gmail.com
Copyright © 2025 Upokary. All rights reserved.