LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-06-2023, 05:12 AM   #1
DarkBrainsDecoder
LQ Newbie
 
Registered: Feb 2021
Posts: 6

Rep: Reputation: Disabled
Question No such file or directroy while accessing from mobiXterm


I am using Windows where I have downloaded MobaXterm and in the terminal I am writing a script trying to access an EC2 instance

Now, I have downloaded the .pem file (key value pair) and kept it in a folder in (D) drive

When I am writing this

Code:
  10/06/2023   13:46.43   /home/mobaxterm  ssh -i D:\Cloud\DevOps\aws_key_val\testmd.pem ubuntu@3.92.200.289                            Warning: Identity file D:\Cloud\DevOps\aws_key_val\testmd.pem not accessible: No such file or directory.
ubuntu@3.92.199.246: Permission denied (publickey)
Permission denied part I have got it but why the system is telling me NO SUCH FILE OR DIRECTORY

Where am I doing the mistake (Is it with slashes like forward-backward, is it with that the name cannot start with D:.....Any idea??
 
Old 07-06-2023, 05:48 AM   #2
shruggy
Senior Member
 
Registered: Mar 2020
Posts: 3,670

Rep: Reputation: Disabled
MobaXterm uses Cygwin-styled paths. Try /drives/d/Cloud/DevOps/... instead of D:\Cloud\DevOps\...
 
  


Reply

Tags
file access



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How to integrate with samba server and windows active directroy ? krishnavk1989 Linux - Server 1 12-20-2012 12:23 AM
Finding Directroy size using system call HeartBeat Linux - Newbie 2 06-17-2009 04:04 AM
Fedora Directroy server Configuration for VoiceRD tahiralmas Fedora 0 12-21-2006 01:44 AM
RedHat Directroy Server 71. ceenu99 Red Hat 0 07-26-2006 05:30 AM
Slack 10 kernel 2.6.7 new directroy under /dev dissappears steved123 Slackware 3 07-03-2004 06:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration