Comments (18)
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.
Original comment by [email protected]
on 7 Oct 2012 at 7:07
from win-sshfs.
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.
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.
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.
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.
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.
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.
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.
[deleted comment]
from win-sshfs.
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.
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.
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.
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.
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.
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.
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.
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)
- I have an application developed in XP environment in VS 2003 and when I make a change in source code it gives me an error on two particular forms only. rest of the application is working fine. Plz anyone can tell me why this exception is occuring???
- Tab Order incorrect HOT 1
- File Date/Time Issue over network
- mounting OSX as sshfs drive from Win7 HOT 3
- BAD_POOL_CALLER BSOD when using win-sshfs on Windows 8.1
- Key not valid for use in specified state. HOT 3
- sudo on target system?
- Filesize limited by FAT System conversion (EXT -> FAT for mounting)
- mount in "read only" mode HOT 1
- Unicode filename doesn't display properly in sshfs HOT 1
- Drive with the same letter exists
- Can not map with port forwarding unless I change the hostname HOT 3
- Inaccessible/disconnects after certain time period HOT 2
- win-sshfs produces an unhandled exception error with Microsoft.NET framework HOT 2
- Ability to change transfer type?
- Permissions reset when file modified
- PrivateKeyFile constructor requires write access to private key file
- the process has been terminated due to an unhandled exception
- cant access mounted drive (freesshd) HOT 1
- Google Code closing
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from win-sshfs.