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

Construct Binary Search Tree from Preorder Traversal

January 16, 2023 beroza

apache2.service failed “systemctl status apache2.service” and “journalctl -xe” for details

November 13, 2019 beroza

Useful Linux networking commands

December 3, 2018 beroza

Incompatible types: void cannot be converted to

July 20, 2020 beroza

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

July 23, 2021 beroza

Delete Greatest Value in Each Row

January 8, 2023 beroza

Largest 3-Same-Digit Number in String

December 30, 2022 beroza

How to check variable is an object in JavaScript?

August 13, 2021 beroza

Useful docker commands

October 17, 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.