|
|
|
|
|
by usrbinbash
934 days ago
|
|
"Interactive" in this sense has less to do with how the shell is used, and more with how it is invoked and connected to it's environment. From the manpage: An interactive shell is one started without non-option arguments
(unless -s is specified) and without the -c option, whose standard
input and error are both connected to terminals (as determined by
isatty(3)), or one started with the -i option.
Technically, the shell isn't connected to a terminal when started by sshd but to the ssh connection. So yeah, from the point of view of the user, it is absolutely interactive, but not from the point of view of bashs internal logic. |
|