Comments (17)
This will be released in version 0.0.25, which is now pending review in the Chrome Web Store.
from chrome-ssh-agent.
i found mosh in secure shell extension.
however, i couldn't use the chrome ssh agent.
from chrome-ssh-agent.
I tried this out, and it seems to hang for me when connecting after detecting that it requires public key authentication.
What I've done so far:
- In the mosh connection setup, I set the SSH agent ID to
eechpbnaifiimgajnomdipfaamobdfha
- Installed mosh on the server to which I'm trying to login.
- Validated in the console (under Chrome Developer tools) for this extension (SSH Agent for Google Chrome) that there are messages to and from the SSH agent.
What would be really helpful is to pass -vvv
to the ssh client process started by mosh to see where it's getting hung up, but I haven't figured out how to do that. I suspect I'm missing something obvious.
@rpwoodbu do you have any insight on how best to see what's happening inside of mosh? Or, do you have any background on what we should expect here?
from chrome-ssh-agent.
The web-based Mosh implementation actually doesn't use OpenSSH under the hood (uses libssh), so -vvv
is not meaningful here. I would try starting an ordinary SSH session from the Secure Shell app to debug authentication issues first, as that does afford more debuggability.
from chrome-ssh-agent.
hello friends,
my 2 pence.
i have also tried mosh with the agent, and there's a clear error in the chrome dev console.
mosh does expect some object, and it receives an array of bytes from the agent.
since the agent is already working with some extensions, I'd incline to implement in mosh the parsing of that array.
though I've never tried the world of binaries compiled for the web yet.
all my best,
a.
from chrome-ssh-agent.
Thanks @alexbodn - yes, that aligns with my test. The ssh agent extension works correctly for me for ordinary ssh sessions (when not using mosh).
from chrome-ssh-agent.
the problem is that the gnubby extension always sends messages using the format:
{
type: "[email protected]",
data: [...] // Array of integers
}
this extension however omits type
in its messages.
it woks with Secure Shell because it doesn't care -- it only looks for .data
. mosh however has a check:
this.agentPort_.onMessage.addListener(function(message) {
if (message['type'] !== '[email protected]') {
console.error('Got unexpected message from SSH agent:');
console.error(message);
return;
}
so we could omit the .type
check in mosh, or, more easier, change this extension to fill out the .type
field. then it would just work with mosh.
i don't think the protocol is documented anywhere.
from chrome-ssh-agent.
Ah - thank you @vapier! I can't think of a downside to just also setting the type in the ssh agent extension. I can give that a try.
from chrome-ssh-agent.
from chrome-ssh-agent.
from chrome-ssh-agent.
thank you rich.
how can i install the review version?
from chrome-ssh-agent.
Once it is published in the web store, you should get the new version automatically.
from chrome-ssh-agent.
from chrome-ssh-agent.
Ah - I see.
If you are okay with installing it locally, you could use the zip file from the releases page (https://github.com/google/chrome-ssh-agent/releases/tag/v0.0.25). There are a number of guides available for installing extensions from zip files.
NOTE: That this would not be a signed copy, as that is only available after being published in the Web Store.
from chrome-ssh-agent.
from chrome-ssh-agent.
It sounds like that is separate from the subject of this issue, right? If so, can you please file a separate issue?
from chrome-ssh-agent.
I've reported the secure shell dev regression at
https://bugs.chromium.org/p/chromium/issues/detail?id=1411180
thank you very much
from chrome-ssh-agent.
Related Issues (20)
- Dependency Dashboard
- ssh agent not used for WASM ssh connections HOT 7
- Consider migration to bzlmod HOT 1
- Revert to default NodeJS version selection
- Update Go Dependencies
- CrOS Terminal app is not allowlisted HOT 6
- Re-enable static analysis for build tags on tests.
- Upgrade to Bazel 7 HOT 1
- Protect BigStorage operations with a mutex
- "Failed to load key...." HOT 6
- Tests occasionally fail with "timeout waiting for Xvfb" HOT 8
- Make Manager.Unload() accept an ID
- ed25519 keys don't load HOT 1
- Enable go vet HOT 1
- Add validation that _test.go files have no build tags
- Show 'Loading' indicator on Options UI
- Add option to automatically load unencrypted keys HOT 1
- Enable by default in Chrome Secure Shell HOT 4
- Consider merging into Secure Shell extension itself
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 chrome-ssh-agent.