开发者

Fails in Telnet works in SSH

Hi I am connecting to a remote unix and running a command there tha开发者_Python百科t supposed to run in the background.

The problem is that when I am connecting with ssh it works fine but if I am connecting with telnet the program which I run stops running after a few seconds.

the program which I execute is a program that starts another program in the background. It seems (guessing) that the failure happens when the first program is about to run the other program in the background.

has anyone encountered something like that ever?


> An interactive shell is one started without non-option arguments, unless -s is specified, without specifying the -c option, and whose input and output are both connected to terminals (as determined by isatty(3)), or one started with the -i option. See section 6.3 Interactive Shells, for more information

Job control isn't available over your telnet. This can be

  • a deficiency of your telnet client
  • a missing option to telnet
  • if you start bash in a pipe, e.g., by default the input/output are not connected to a terminal (but rather pipes). Don't do that :)

See also

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜