Sunday, October 5, 2025
Latest:
  • German Pronouns with Nominative, Accusative, and Dative cases
  • German articles for the nominative, accusative, and dative cases
  • Der kleine Vogel und die Sonne
  • German alphabet pronunciation
  • Command design pattern
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 merge two array of objects and make it unique based on a property?

April 12, 2021 beroza

What are the differences between freeze, seal and preventExtensions?

August 7, 2021 beroza

What are the differences between String, StringBuffer, and StringBuilder in java?

December 10, 2019 beroza

The module bcrypt_lib was compiled against a different Nodejs version

May 23, 2020 beroza

How to start a Java spring boot application using Jenkins X?

June 27, 2020 beroza

Maximum Score After Splitting a String

January 10, 2023 beroza

Write a Program to Calculate Time Needed to Buy Tickets

May 18, 2023 beroza

Command design pattern

February 2, 2025 beroza

How to quick start reactjs application using jenkinsX?

February 19, 2020 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.