Sh3ll
OdayForums


Server : Apache
System : Linux profile 3.10.0-1160.88.1.el7.x86_64 #1 SMP Tue Mar 7 15:41:52 UTC 2023 x86_64
User : apache ( 48)
PHP Version : 8.0.28
Disable Function : NONE
Directory :  /var/www/html/test/wetty/docs/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //var/www/html/test/wetty/docs/auto-login.md
# Auto Login

WeTTY Supports a form of auto login by passing a users password though url
params.

This is not a required feature and the security implications for passing the
password in the url will have to be considered by the user.

## Requirements

For auto-login feature you'll need sshpass installed

- `apt-get install sshpass` (debian eg. Ubuntu)
- `yum install sshpass` (red hat flavours eg. CentOs)

## Usage

You can also pass the ssh password as an optional query parameter to auto-login
the user like this (Only while running WeTTy as a non root account or when
specifying the ssh host):

`http://yourserver:3000/wetty/ssh/<username>?pass=<password>`

ZeroDay Forums Mini