Comments (5)
Added options --sshuser and --sshport in the latest commit. Can you check if it works fine for you?
from wetty.
Wow, fast response.
Hi, the sshport works. But the sshuser is not quite what I wanted. With the way the code works, I believe it is still hardcoded at startup. I would like to support different users after the server have started.
But thanks for the sshport commit!
Terry
from wetty.
You don't want to run it as root? If you run app.js as root it will spawn /bin/login and it will let you choose username.
from wetty.
I don't normally like to run webapps as root. Granted, this may just be paranoia on my part. Also, I may not always have root access. As an example, I am running this on a dev box and the administrator has only granted me the ability to run wetty via nginx port forwarding.
Anyway, running as root and using /bin/login does work...So, if this is too much trouble, please close the bug and I can continue to use the perl script I have pasted in earlier.
Thanks!
Terry
from wetty.
latest commit has the option to specify the username. I have updated the README can you check if it is clear? let me know if it works for you.
from wetty.
Related Issues (20)
- --ssh-pass=<password> won't make effect HOT 5
- Refused to display in a frame because it set 'X-Frame-Options' to 'deny' HOT 1
- send data from browser instance to wetty iframe
- Will Docker images be updated? HOT 4
- fit to page not working for me HOT 7
- Pass HTTP headers to the command as env vars HOT 1
- Line Display in Wetty on a Large Monitor
- Move away from yarn
- [Question] Why is wetty prompting for my username at login? HOT 1
- Docs suggest installing nodejs 14 instead of a maintained version
- What environment variables are available for Docker containers? HOT 1
- Trying to expose the terminal of a Raspberry Pi HOT 3
- Move away from snowpack? HOT 1
- It can not work at windows.
- (On the same host) being able to autologin even if SSH is configured with PasswordAuthentication no
- Ability to kill wetty service when a user has exited or when the window is inactive for 5 mins
- ssh in legacy server HOT 1
- @fortawesome and lodash are not found HOT 6
- Black screen on fresh install HOT 11
- Ability to enter commands/text into wetty iframe.
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 wetty.