Comments (2)
I have, indeed, compiled sshd
for iOS in ios_system
. I'm currently stuck on the user-experience and configuration part of sshd
.
In order to run commands from the outside world, sshd
has a lot of security (that's understandable). You need to generate server keys, store them, deliver them to the client. And of course these keys are tied to the server IP address, and ssh
(the client) will print an ominous warning or refuse to connect if the server IP address has changed since the server keys were generated, or if the server keys have changed. All of that makes sense for a desktop server; it is more complicated for an iPad or iPhone that is mobile by design, and will change IP address several times during the day.
Short version: the binary is not the problem, the configuration is. I'm taking time to think about how to do it right.
from a-shell.
I found a useful thread with some options for ssh configuration, specifically CheckHostIP
and HostKeyAlias
, although it requires manual configuration and I'm not even sure how to identify a-shell in the config, maybe by hostname?
I also found a suggestion somewhere to use ssh with a reverse shell which does handle ip changes, but that requires the connecting client having sshd
running, authenticating on a-shell for the connecting client after authenticating on the connecting client for a-shell and is probably more inconvenient at this point than losing the connection on ip changes.
Another path is mosh support #3 which sounds like it would solve this from their README:
Mosh allows the client and server to "roam" and change IP addresses, while keeping the connection alive. Unlike SSH, Mosh can be used while switching between Wi-Fi networks or from Wi-Fi to cellular data to wired Ethernet.
But this seems to just be not true...
from a-shell.
Related Issues (20)
- pbpaste in shell script HOT 1
- Displaying inline images HOT 3
- Error with submodule init: Fetched in submodule path 'cpython/packages/rasterio', but it did not contain fff416c6945b222f265fa268c4d56de34c8091dd. HOT 2
- iPad Air 5th Generation shows no special keyboard HOT 1
- wasm Error : JavaScript execution returned a result of an unsupported type HOT 6
- Add pyppeteer support HOT 2
- Tmux or screen
- Bundle terminal fonts with a-shell itself? HOT 4
- Strings command HOT 4
- GPG HOT 6
- Set `XDG_STATE_HOME` HOT 3
- FFmpeg Does Not Have libx264 HOT 1
- Include `aria2c` on a-shell mini HOT 1
- Word characters differ from bash HOT 1
- Bookmarks not working in Python script HOT 1
- Golang HOT 1
- Incorrect path, I do not know how to access the files path HOT 2
- python cryptography upgrade HOT 1
- Internalbrowser (webview) doesn't display text picker UI HOT 3
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 a-shell.