Comments (9)
Can confirm this is still an issue to date. Existing OpenSSH private keys can be converted to RSA format using the following terminal command where id_rsa is the OpenSSH private key:
ssh-keygen -p -m PEM -f ~/.ssh/id_rsa
Recommend you back-up id_rsa before running the command as the file will be overwritten when converted. Remember to chmod 600 id_rsa
or it will be ignored.
OpenSSH seems to be the new standard private key format. Any comment on when/if Snowflake will add support?
Thank you for this program.
from snowflake.
Using Snowflakes for connecting to AWS EC2 unable to connect through .pem files for the new EC2 instances ( through Putty/WINSCP i can login to EC2 with same key). But can connect to Older EC2s with Snowflake with their .PEM files.
Please help.
from snowflake.
I can confirm that this is happening to me too. Selected my key under ~/.ssh/id_rsa
Exception caught in sftp file browser
com.jcraft.jsch.JSchException: invalid privatekey: [B@38c2c34d
at com.jcraft.jsch.KeyPair.load(KeyPair.java:747)
at com.jcraft.jsch.KeyPair.load(KeyPair.java:561)
at com.jcraft.jsch.IdentityFile.newInstance(IdentityFile.java:40)
at com.jcraft.jsch.JSch.addIdentity(JSch.java:407)
at com.jcraft.jsch.JSch.addIdentity(JSch.java:367)
at snowflake.common.ssh.SshClient.connect(SshClient.java:62)
at snowflake.common.ssh.files.SshFileSystem.connect(SshFileSystem.java:75)
at snowflake.common.ssh.files.SshFileSystem.ensureConnected(SshFileSystem.java:39)
at snowflake.common.ssh.files.SshFileSystem.getHome(SshFileSystem.java:202)
at snowflake.components.files.browser.ssh.SshFileBrowserView.lambda$render$1(SshFileBrowserView.java:163)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
from snowflake.
Thanks for reporting, will look into it
from snowflake.
I've had the same problems today with some of the servers I manage. I tested on one of my servers by changing to a different key from another server that worked and the problem resolved - the difference between the two keys being the length of the key. Perhaps a clue into the source of the problem?
from snowflake.
Related issue dbeaver/dbeaver#5845, consider using/supporting SSHJ.
from snowflake.
Temporary solution:
private key generated by ssh-keygen starts with
-----BEGIN OPENSSH PRIVATE KEY-----
and not
-----BEGIN RSA PRIVATE KEY-----
To generate supported key add
-m PEM
to the end of yourssh-keygen
commande.g.
ssh-keygen -m PEM
This works with version 1.0.4
from snowflake.
facing the same issue while I am trying to access the new aws instance, i 'm geting an error - Unable to connect to server.
Please look into this.
from snowflake.
Holy molly, same issue still persists.
from snowflake.
Related Issues (20)
- Local folder on Session Manager does not work. HOT 1
- Cannot Connect to OpenWrt HOT 4
- problem with ctrl+z in internal editor
- Ports cannot be greater than 999 HOT 1
- Can't start System Monitor on BusyBox systems
- new server, same ip, wont ask about RSA fingerprint
- sftp/ftp access without ssh access
- 时间显示有一个T
- connection import export and search
- Two suggestions
- Is this great project in active development or it's abandoned? HOT 4
- Open local files at left panel
- can not set a default panel
- how to enable snowflake for use system proxy?
- After upgrade to Ubuntu 23.04 fonts in app are ugly
- Why can't I drag and drop files to upload?
- Got a bug with conenction HOT 1
- Log4j vulnerability
- Shared session location
- Invalid SSH key.
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 snowflake.