SSH Command Execution Hangs, although interactive shell functions fine

前端 未结 7 1610
庸人自扰
庸人自扰 2020-12-29 23:03

When I attempt to execute a command on a remote server with ssh, the ssh command hangs after the exec request accepted debug message, and eventually times out.<

7条回答
  •  失恋的感觉
    2020-12-29 23:11

    Check for commands in your shell startup files (I would assume ~/.cshrc from your prompt; in a non-interactive session, ~/.login shouldn't matter) that require a terminal for some reason.

提交回复
热议问题