<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" id="owaParaStyle"></style>
</head>
<body fpstyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Came across MOSH via Hacker News - read all the info and liked it enough to install on a worksation and an AWS server.
<div><br>
</div>
<div>I administer several AWS virtual machines. &nbsp;Due to various reasons, each machine is accessed via a specific private key. &nbsp;</div>
<div><br>
</div>
<div>the ssh command used is : &nbsp;ssh -i keyfile.pem user@node</div>
<div><br>
</div>
<div>When I hacked the mosh perl script, I put in an -i keyfile.pem on the exec line for the ssh.</div>
<div><br>
</div>
<div>I get an error:</div>
<div>Warning: Identity file &nbsp;keyfile.pem not accessible: No such file or directory.</div>
<div><br>
</div>
<div>Tried using a fully qualified path name, same error, tried temporarily making the keyfile readable by everybody - same error.</div>
<div><br>
</div>
<div>Since I have no perl experience, I don't know who to debug further or how to fix. &nbsp;</div>
<div><br>
</div>
<div>Any suggestions? &nbsp;</div>
<div>Cheers,</div>
<div>Eugene</div>
<div><br>
</div>
</div>
</body>
</html>