[mosh-users] ssh -i keyfile

Keith Winstein keithw at MIT.EDU
Tue Apr 10 00:42:14 EDT 2012


The extra space in your error message makes me a little suspicious.

Does your line look something like the following?

exec 'ssh', '-i', 'keyfile.pem', '-S', 'none', '-o',
"ProxyCommand=$quoted_self --fake-proxy -- %h %p", '-t', $userhost,
'--', "$server " . shell_quote( @server );

Best,
Keith

On Tue, Apr 10, 2012 at 12:40 AM, Eugene Doma <eugene.doma at sydney.edu.au> wrote:
> Came across MOSH via Hacker News - read all the info and liked it enough to
> install on a worksation and an AWS server.
>
> I administer several AWS virtual machines.  Due to various reasons, each
> machine is accessed via a specific private key.
>
> the ssh command used is :  ssh -i keyfile.pem user at node
>
> When I hacked the mosh perl script, I put in an -i keyfile.pem on the exec
> line for the ssh.
>
> I get an error:
> Warning: Identity file  keyfile.pem not accessible: No such file or
> directory.
>
> Tried using a fully qualified path name, same error, tried temporarily
> making the keyfile readable by everybody - same error.
>
> Since I have no perl experience, I don't know who to debug further or how to
> fix.
>
> Any suggestions?
> Cheers,
> Eugene
>
>
> _______________________________________________
> mosh-users mailing list
> mosh-users at mit.edu
> http://mailman.mit.edu/mailman/listinfo/mosh-users
>



More information about the mosh-users mailing list