Saturday, May 31, 2025
Latest:
  • German articles for the nominative, accusative, and dative cases
  • Der kleine Vogel und die Sonne
  • German alphabet pronunciation
  • Command design pattern
  • German words with gender
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, 2020Linux, 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

ERROR 1067 (42000): Invalid default value for ‘created_at’

July 23, 2021 beroza

Detect a DOM element is visible in the current viewport?

September 16, 2019 beroza

JavaScript Primitive vs. Reference Types

August 27, 2021 beroza

Most useful software design patterns

December 26, 2018 beroza

Write a Program to Display Table of Food Orders in a Restaurant

January 14, 2023 beroza

What is Apache Kafka? Why should we use Kafka?

November 25, 2023 beroza

Write a Program to Calculate Time Needed to Buy Tickets

May 18, 2023 beroza

Should we write a lot of code inside finally block?

June 22, 2023 beroza

The following PHP extension is missing: curl AMP WordPress

January 16, 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

Languages

  • EnglishEnglish
  • বাংলাবাংলা

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.