linux - ssh免密登录失败,报sorry,command...is not allowed错误?

查看:181
本文介绍了linux - ssh免密登录失败,报sorry,command...is not allowed错误?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

问 题

机器建立互信时候执行ssh命令
ssh -o PasswordAuthentication=no -o StrictHostKeyChecking=no $hostname
返回错误信息如下:
Sorry, command '/usr/bin/baas pass_bils_identity --baas_cred=XXXXXX= --client_ip_address=10.62.141.17 --total_rpc_timeout_in_ms=500 --rpc_timeout_in_ms=500 --total_rpc_retry_time=1 > /dev/null 2>&1 ; /usr/bin/baas disconnect_father_son_relation --total_rpc_timeout_in_ms=500 --rpc_timeout_in_ms=500 --total_rpc_retry_time=1 > /dev/null 2>&1;/usr/bin/baas bind_to_session --global_session --global_session_id=44025462-55b9-4ed1-b41e-76ba59b01611 --global_index=2 --total_rpc_timeout_in_ms=500 --rpc_timeout_in_ms=500 --total_rpc_retry_time=1 > /dev/null 2>&1;$SHELL -l' is not allowed

请高手指导。

解决方案

问题已解决。

这篇关于linux - ssh免密登录失败,报sorry,command...is not allowed错误?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆