shell-base/ssh/interactive

4 lines
57 B
Plaintext

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