开发者

Fails in Telnet works in SSH

开发者 https://www.devze.com 2023-03-01 01:35 出处:网络
Hi I am connecting to a remote unix and running a command there tha开发者_Python百科t supposed to run in the background.

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

精彩评论

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