[cs615asa] Expanding ~

Jin Sun jsun6 at stevens.edu
Mon Mar 31 11:44:26 EDT 2014


dont worry about this, everyone is using absolute value
On Mar 31, 2014 11:40 AM, "Paul-Anthony Dudzinski" <pdudzins at stevens.edu>
wrote:

> Hello,
> I am running into a bit of trouble when I try to override the ssh flags in
> my program when I pass ~ for the home directory:
>
> So if I do
>
> export EC2_BACKUP_FLAGS_SSH="-i ~/.aws/lnxLab.pem"
>
> and then run the program I get:
>
> Warning: Identity file ~/.aws/lnxLab.pem not accessible: No such file or
> directory. Warning:  Permanently added '
> ec2-54-85-193-109.compute-1.amazonaws.com,54.85.193.109' (ECDSA) to the
> Permission denied (publickey).
>
>
> However when I pass the absolute path it works just fine. My intuition is
> that ssh might be looking in /etc/passwd for my home directory (where I
> have no entry on lnxlab) and then looking for the literal file :
> ~/.aws/lnxLab.pem when it doesnt find a home directory for my user id.
>
> Is anyone else having this problem?
>
> _______________________________________________
> cs615asa mailing list
> cs615asa at lists.stevens.edu
> https://lists.stevens.edu/mailman/listinfo/cs615asa
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.stevens.edu/mailman/private/cs615asa/attachments/20140331/86e235f7/attachment.html>


More information about the cs615asa mailing list