Comments (1)
Hi,
You could write your own ssh login wrapper script. In wrapper script you
can ask user for remote server IP address, or you can read it from some
file etc...
And than you could run shellinaboxd with something like that:
shellinaboxd --service /:$USER:$GROUP:$HOME:/path/to/mysshlogin.sh
Example script "mysshlogin.sh":
------------------
#!/bin/bash
# Read user input
read -p "Please enter remote server address: " remoteserver
echo "Connecting to server ${remoteserver} ..."
# Start ssh connection
ssh root@${remoteserver}
------------------
PS: this script is probably not safe :) you should do some input checking or
something ...
Original comment by [email protected]
on 20 Jan 2015 at 11:30
from shellinabox.
Related Issues (20)
- Browser loops on connectivity problems
- Delay after typing in shellinabox HOT 2
- How to pass credentials to SSH command
- "-" key does not work in firefox HOT 3
- Decouple vt100.js from main project
- shellinaboxd: unrecognized service HOT 3
- Copy paste not working as expected HOT 1
- how to open and interact with shellinabox in a custom html page HOT 2
- Prompt behind horizontal scroll bar
- migration to github or bitbucket ? HOT 1
- ShellInABox Can not clear the contents of the vim buffer HOT 3
- Wrong version being installed from repository HOT 3
- why any web browsers show shellinabox with others colors HOT 1
- <>^`$ยฃยจ!-_ keys dont work with Firefox and swiss german keyboard HOT 1
- Cannot log in with any user on shellinabox
- Shellinabox uses a quicktime plugin which will not be supported by Chrome in the near future
- Shellinabox via proxy
- ERR_SSL_VERSION_OR_CIPHER_MISMATCH HOT 1
- Stops after login
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 shellinabox.