Skip to content

Latest commit

 

History

History
51 lines (31 loc) · 1.29 KB

README.md

File metadata and controls

51 lines (31 loc) · 1.29 KB

#SSOTERM

This is a menu wrapper for logging into remote hosts without having to repeatedly enter a password. It's aimed at administrators who manage large estates and designed to be easy to configure. The user is prompted for their password once at startup and this is stored in the process memory, but never revealed in ps ouput.

screenshot

###DEPENDENCIES

ssopass is required. This can be downloaded from https://github.com/equick/ssopass

ssoterm looks for this in /usr/bin/ssopass

###INSTALL

Run the following command to compile:

gcc ssoterm.c -o ssoterm -lmenu -lncurses

###RUN

In a terminal type:

./ssoterm

This will prompt for your user id and password which is used to log in to all hosts. Navigate in the menu to the host you want to connect to.

###CONFIGURATION

Example menus are provided as shown below and can be named as required. The top level file called main is the only file that must stay the same.

main
-hostgroup1
   -hostgroup1_dev
   +hostgroup1_uat
   +hostgroup1_prod
   +hostgroup1_dr
+hostgroup1
+hostgroup1

###SUPPORT

If there are problems running ssoterm, compile with -DDEBUG as follows:

gcc -DDEBUG ssoterm.c -o ssoterm -lmenu -lncurses

This will create debug.log which should help to see where it's going wrong.