We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
比如我登录后需要输入以下内容 ssh 1.2.3.4 1 su - hive hive
要输入以上四行且带回车 在<认证后执行命令> 中用\n不生效 请问怎么实现
The text was updated successfully, but these errors were encountered:
just use "\n" at the end of command,like this: su - hive\necho "something"
Sorry, something went wrong.
\n take no effect
比如我登录后需要输入以下内容 ssh 1.2.3.4 1 su - hive hive 要输入以上四行且带回车 在<认证后执行命令> 中用\n不生效 请问怎么实现
尝试输入一个命令可以正常执行的, 例如 sudo su \r 。但是多个命令还是无法执行
在这里使用ssh命令不太合适,应该使用"ssh" - "代理"里面跳转服务器; 如果只是多个命令,"\n"是可以正常用的。比如"sudo su -\ncd /usr/local/src\n"
No branches or pull requests
比如我登录后需要输入以下内容
ssh 1.2.3.4
1
su - hive
hive
要输入以上四行且带回车
在<认证后执行命令> 中用\n不生效
请问怎么实现
The text was updated successfully, but these errors were encountered: