# ssh remote login with environment variables and commands passing
# variable names or variables can be put in SSH_ENV
# commands in SSH_PROFILE will be executed

usage: sshe [loginprompt='regexp'] [envvar:='string'] [ssh-options --] [user@]host ['commands'] [:]
environment: SSH_ENV='env_var1 env_var2 ...' SSH_PROFILE='commands'
base SSH_ENV: EDITOR TERM LANG LC_* SSH_USER FEXXX SSH_ENV
loginprompt: expected prompt after login (default: '\w\@\S+:|\w[:#]~')
arguments: trailing ":" will enter interactive mode
example: sshe max@mueller 'cd /buero' :
example: sshe loginprompt='#' LC_ALL:=C EDITOR:=vi root@sun