Comments (2)
Hmm, the problem here is that we are being sloppy and allowing SSH's controlling terminal to be the user's /dev/tty (not the pty). That way SSH gets input from the keyboard (e.g. the password) without our having to ferry the keystrokes to SSH. Unfortunately it also means when SSH writes directly to the tty (as it does for the password prompt, but not "Permission denied"), we never get it and it just goes straight to the terminal.
Fixing this would take some more sophistication: we would need a poll loop to ferry keystrokes to SSH and then SSH's output to the terminal, except we'd probably want to screen out the "MOSH IP" line, which is trickier when we are going byte-by-byte.
I'm inclined to leave this as-is for now, at least for 1.0.
from mosh.
This was filed nearly 10 years ago, and we've had lots of changes to the mosh startup script since. It's unclear to me this issue still exists. Please reopen if you can reproduce with mosh 1.4.0
from mosh.
Related Issues (20)
- [Windows] mosh of msys2 can not tell the count of colors under git bash.
- libprotobuf error HOT 1
- mosh sometimes hangs on connect HOT 13
- mosh + neofetch gives unexpected behaviour HOT 3
- non-ssh auth, VPN maybe HOT 4
- SGR 2 (dim/dark) doesn't work
- Using zellij causes flickering and missing inputs HOT 1
- protobuf 23.3 no longer supports c++11 HOT 2
- Documentation about --bind-server=any HOT 3
- SSH Agent Forwarding HOT 3
- Mosh, tmux, nvim rendering/redrawing issues HOT 5
- Getting mosh work on Windows with truecolor (24-bit) HOT 3
- Weechat rendering issue when connected via Mosh HOT 2
- /usr/bin/mosh: Did not find mosh server startup message, mosh is available in path HOT 2
- Mosh doesn't handle servers with multiple IPs gracefully HOT 1
- Mosh-server exits after closing initial SSH session HOT 2
- [Bug] Visual selection of a wrapped line in Vim shows incorrect characters
- VT100 DECKPAM - Alternate Keypad Mode HOT 1
- "Did not find mosh server startup message" when connecting to a busybox ash shell (embedded device)
- Symbol not found: ___darwin_check_fd_set_overflow on Mojave
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 mosh.