Comments (11)
@rberrelleza Sure, I will try it tomorrow on my work machine and I'll add my feedback here.
from remote-kubernetes.
thanks for checking, I'll update the extension as soon as possible
from remote-kubernetes.
Thanks for the thorough analysis @RedRoserade ! so, do you think if we generate ed25519 keys, that should fix the issue for everyone? (have to check if windows supports that, but my guess is that it should).
from remote-kubernetes.
I think it should, though I cannot be sure, only testing would tell. According to the Arch Wiki, ed25519 keys have been supported since OpenSSH 6.5, which dates back to 2014: https://wiki.archlinux.org/index.php/SSH_keys#Ed25519
The same algorithm is documented in Windows Server documentation, so there's a good chance it works there too: https://docs.microsoft.com/en-us/windows-server/administration/openssh/openssh_keymanagement
And, since these keys are used only for connecting to remote Okteto instances, it should be fine.
from remote-kubernetes.
Sounds like ed25519 is a good candidate for them. The root cause of the issue is on okteto/okteto, once okteto/okteto#1351 is merged and released, we'll update it on the plugin.
from remote-kubernetes.
We had some issues with compatibility with ed25519, so we'll start by adding the PubkeyAcceptedKeyTypes key first, while we work on supporting ed25519.
from remote-kubernetes.
I see, I was concerned that could happen. I'd say that the workaround will be good enough for now, too.
from remote-kubernetes.
@RedRoserade could you try the build from master to make sure if solves the issue? The extension has a setting to pass a binary instead of using the expected version. You can build it yourself, or use https://downloads.okteto.com/cli/master/okteto-Linux-x86_64
from remote-kubernetes.
@rberrelleza It works; after compiling locally, deleting previous ssh keys, and changing the paths, this is what I get on my ssh config:
# entry generated by okteto
Host cps-api.okteto
ForwardAgent yes
PubkeyAcceptedKeyTypes +ssh-rsa
HostName localhost
Port 36043
StrictHostKeyChecking no
UserKnownHostsFile /dev/null
IdentityFile "/home/$USER/.okteto/id_rsa_okteto"
And most importantly, VSCode connects.
Thank you!
from remote-kubernetes.
version 0.2.1 has the fix, if you want to try it out @RedRoserade
from remote-kubernetes.
Already have, it works well. Thanks!
from remote-kubernetes.
Related Issues (20)
- Okteto Up fails to launch the remote SSH window HOT 3
- Field selector not found HOT 2
- SSH connection unstable / reconnecting endlessly HOT 3
- Oketeto up not deploying to active context HOT 3
- Okteto up - VSCode can't open SSH session DNS issues HOT 1
- create manifest command doesn't work on 0.4.1 HOT 1
- Question on converting okteto v1 manifest to v2 manifest HOT 4
- "Unexpected token 'up' in expression or statement" when running "okteto up" via vscode HOT 1
- Unknown flag: --loglevel HOT 2
- Support paths with spaces
- The remote window fails to start if `scp` is not installed in the dev image HOT 3
- "No matching results" for Ctrl-P-"Okteto"after extension install HOT 5
- `okteto up` not working after cli `2.5.0` upgrade HOT 1
- Remote SSH window fails to open with “Error missing proxy instance MainThreadDebugService” HOT 1
- Okteto destroy doesn't work as expected in VS Code plugin
- Unable to use the extension Cannot read properties of undefined (reading 'track')) HOT 9
- In development containers, environment variables are inherited from the base image, with the exception of PATH. HOT 4
- Command 'okteto.up' not found. HOT 1
- Terminal on IDE connected to Remote Environment crashes HOT 1
- Environment variables are not being honored by extension
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 remote-kubernetes.