This repository has been archived on 2022-02-20. You can view files and clone it, but cannot push or open issues or pull requests.
bash-shell-base/ssh/interactive
David Kebler fdd2f05198 turn off non-interactive shell sourcing
move options env to top of list
add interactive echo for ssh remote logins
2021-01-14 12:55:47 -08:00

3 lines
57 B
Text

if [[ $- == *i* ]]; then
echo ssh interactive session
fi