ssh-exec.cfg

Package: WA2L/edrc 1.5.57
Section: Configuration Files (4)
Updated: 14 January 2021
Index Return to Main Contents

 

NAME

ssh-exec.cfg - configuration file for ssh-exec

 

SYNOPSIS

edrc/etc/ssh-exec.cfg

 

AVAILABILITY

WA2L/edrc

 

DESCRIPTION

This is the configuration file for the ssh-exec command.

 

FILEFORMAT

The fileformat is OPTION=VALUE

Between the OPTION, the = and the VALUE are no spaces.

Rows starting with a # are considered as comments.

You should not comment out any OPTION If you like to use default settings simply do not specify a VALUE.

 

OPTIONS

LOG
Log output dir of ssh-exec. If you specify a relative path name the path is relative to the root of the WA2L/edrc installation.

Example: LOG=/var/opt/edrc/log

Default: LOG=var/log

EDRC_USER
The home of this user is considered as the root of the WA2L/edrc installation. See edrcsetup(1m) for information about user settings needed by WA2L/edrc.

Example: EDRC_USER=edrc

Default: EDRC_USER=edrc

START_USER
User that is allowed to start ssh-exec.

This setting is of relevance if the user-id of the starting user is different from the local user used (-l localuser option) to connect to the remote system.

Example: START_USER=eroot

Default: START_USER=root

CONNECTION_TIMEOUT
ssh connection timeout in seconds.

Specifies the timeout (in seconds) used when connecting to the SSH server, instead of using the default system TCP timeout.

This value is used only when the target is down or really unreachable, not when it refuses the connection.

Example: CONNECTION_TIMEOUT=2

Default: CONNECTION_TIMEOUT=4

PROBE_COMMAND
Command to invoke on the remote system to probe a ssh connection with the given remote user.

The chosen command must be available on all target systems.

If it is needed to set the PROBE_COMMAND dynamically the environment variables $REMOTEUSER and/or $TARGET can be used to do so.

The $REMOTEUSER variable contains the user name as given on the command line in lower case; the $TARGET variable contains the target system as given on the command line also in lower case.

Example:
          case $TARGET in
              acme007)   PROBE_COMMAND="uname -n" ;;
              alpha60)   PROBE_COMMAND="sysname"  ;;
              joshua)    PROBE_COMMAND="identity" ;;
              hal9000)   PROBE_COMMAND="avatar"   ;;
              bomb20)    PROBE_COMMAND="WHO"      ;;
              *)         PROBE_COMMAND="hostname" ;;
          esac

Example: PROBE_COMMAND=hostname

Default: PROBE_COMMAND=hostname

 

SEE ALSO

edrcintro(1), edrcsetup(1m), ssh-exec(1)

 

NOTES

-

 

BUGS

-

 

AUTHOR

ssh-exec.cfg was developed by Christian Walther. Send suggestions and bug reports to wa2l@users.sourceforge.net .

 

COPYRIGHT

Copyright © 2020 Christian Walther

This is free software; see edrc/doc/COPYING for copying conditions. There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


 

Index

NAME
SYNOPSIS
AVAILABILITY
DESCRIPTION
FILEFORMAT
OPTIONS
SEE ALSO
NOTES
BUGS
AUTHOR
COPYRIGHT

This document was created by man2html using the manual pages.
Time: 00:14:24 GMT, March 08, 2025