Skip to content

Cannot Mount with Windows. #430

@fynessed

Description

@fynessed

I am trying to mount an ubuntu server directory on my local pc. I have seemed to have tried everything. I have a keypair with amazon the key is called, newKey.pem. What is the correct command to mount a directory using SSHFS with a public key on windows?

Doing this SSH command works:

ssh -i "C:\users\user\downloads\newKey.pem" ubuntu@ec2-ipAddress.compute-1.amazonaws.com

However when I try to mount the directory with this command:

"C:\Program Files\SSHFS-Win\bin\sshfs-win.exe" svc \sshfs.k\ubuntu@ec2-ipAddress.compute-1.amazonaws.com S: "IdentityFile=C:\users\user\downloads\newKey.pem"

I receive this error:

ubuntu@ec2-ipAddress.compute-1.amazonaws.com: Permission denied (publickey).
read: Connection reset by peer

Please help, I have been trying to do this for what seems ages!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions