Giter Site home page Giter Site logo

Comments (18)

GoogleCodeExporter avatar GoogleCodeExporter commented on May 30, 2024
I am having this same problem.  Keys generated by OpenSSH work correctly.  The 
only difference I could find was that the private keys Amazon produces format 
the RSA key with 77 characters per line, while OpenSSH stores a key with 65 
characters per line.

Original comment by [email protected] on 16 Sep 2012 at 8:50

from win-sshfs.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 30, 2024

Original comment by [email protected] on 7 Oct 2012 at 7:07

from win-sshfs.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 30, 2024
That would not be the message if app doesn't know how to interpret keys. I've 
included a patch that allows usage of Amazon ssh key. I know t weird to ask 
this ,but can you send me a copy of your private and public key so I could done 
some tests?

Original comment by [email protected] on 8 Oct 2012 at 9:04

from win-sshfs.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 30, 2024
I seem to have a similar problem, though I can't even get sshfs manager to 
recognize my EC2 key, which is a .PEM key generated by Amazon.  I get an error 
message "File doesn't seem to be a valid private key file" when I attempt to 
insert the file as the key.  It also doesn't work with the PuTTY private keys 
I've generated to connect with PuTTY.

Original comment by [email protected] on 24 Oct 2012 at 3:37

Attachments:

from win-sshfs.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 30, 2024
It only recognizes OpenSsh keys . You can use puttygen.exe to export your putty 
keys to those.

Original comment by [email protected] on 24 Oct 2012 at 7:20

from win-sshfs.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 30, 2024
I checked.
Amazon EC2 key: 76 characters per line and CRLF
'Valid' private key: 64 characters per line and LF

Original comment by [email protected] on 10 Jan 2013 at 6:03

from win-sshfs.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 30, 2024
Is anyone resolved the problem? Using the same private key to successfully log 
in SFTP on Windows, I still can't mount EC2.

Original comment by [email protected] on 18 Jan 2013 at 6:01

from win-sshfs.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 30, 2024
I managed to get the EC2 private key working by just re-formatting the 76 
characters per line into 64 characters per line. That is, I joined the private 
key into one long line (1592 characters) and broke it into 64 character lines. 
This works fine.

Original comment by [email protected] on 16 Mar 2013 at 3:25

from win-sshfs.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 30, 2024
use this for linux : 

$ fold -64 existingkeyfile > newkeyfile

you'll need to make sure the file doesn't have spaces at the end of each line. 

not sure what your options are in windows. Use notepad, probably. 

Original comment by [email protected] on 22 Oct 2013 at 11:13

from win-sshfs.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 30, 2024
[deleted comment]

from win-sshfs.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 30, 2024
Here is how I use sshfs-manager for Amazon EC2:

    1. Use puttygen to convert .pem to .ppk as is instructed by http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/putty.html
    2. After successfully logging into the server via putty, go to ~/.ssh/authorized_keys and concatenate your own ssh public key.
    3. Open sshfs-manager and choose the private key of previous step.

The ssh key-pair (id_rsa and id_rsa.pub) is generated by
    ssh-keygen -t rsa
as is instructed by https://help.github.com/articles/generating-ssh-keys.

Original comment by [email protected] on 4 Mar 2014 at 8:37

from win-sshfs.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 30, 2024
Exactly same issue happen on exactly same hardware (Win7x64). Tried on cygwin 
fold -64 existingkeyfile > newkeyfile buu my key is already folded after 64 
character. :-( Any progress with explanation at least? Can anyone glance into 
the code?

Where can I see the logs on my workstation? Nothing interesting in working dir 
of C:\Users\me\AppData\Local\Temp\sfx.{F9F7D530-some-4355-BCF9-guid}.dir\ 

Original comment by [email protected] on 9 Mar 2014 at 2:36

from win-sshfs.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 30, 2024
Looking at the ProcessMonitor output I would love to dig into decrypted traffic 
with favourite network analyzer.

http://i.imgur.com/I1Vnn62.png

Original comment by [email protected] on 9 Mar 2014 at 3:35

from win-sshfs.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 30, 2024
If you have an issue like #4  "File doesn't seem to be a valid private key 
file", you should to cut from you *.ppk file only private key and mark it 
"-----BEGIN RSA PRIVATE KEY-----" at the first line and "-----END RSA PRIVATE 
KEY-----" at the last one. This is the output format of ssh-keygen utility. 

Original comment by [email protected] on 11 Apr 2014 at 9:42

from win-sshfs.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 30, 2024
I had a similar problem until upgrading PuttyGen to 0.63

Original comment by [email protected] on 23 May 2014 at 9:02

from win-sshfs.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 30, 2024
Hi, 
when I click on "Mount", I get an error message.

Is anyone resolved the problem?

Original comment by [email protected] on 12 Sep 2014 at 10:13

Attachments:

from win-sshfs.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 30, 2024
I got this working using puttygen to convert the ppk, back to an OpenSSH pem.  
Open the private ppk file.  Then select Converstions, export to OpenSSH and it 
works.

Original comment by [email protected] on 17 Oct 2014 at 7:42

from win-sshfs.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 30, 2024
A combination of #9 and #11 worked for me - thanks guys.

I did the following:

1. Uploaded original .pem to linux server
2. Ran $ fold -64 original.pem > new.pem
3. Downloaded this new file and successfully used it in SSHFS Manager.

Elan

Original comment by [email protected] on 27 Feb 2015 at 5:03

from win-sshfs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.