ssh - 如何解决 ClusterSSH 错误 "No Protocol specified"

标签 ssh opensuse

我正在尝试在我的 OpenSuse 15.1 上设置 ClusterSSH - 但我遇到了错误,我环顾四周,找不到解决方案。

mschumacher@Desktop:~/.clusterssh> cssh -l mschumacher 10.0.96.26
Connection to server failed -- (version 11.0)
No protocol specified
 at /usr/lib/perl5/vendor_perl/5.26.1/App/ClusterSSH.pm line 1983.

在文件/home/mschumacher/.clusterssh/config 中我有..

#auto_close=5
#auto_quit=yes
#command=
#comms=ssh
#console=console
#console_args=
#console_position=
#debug=0
#external_cluster_command=
#extra_cluster_file=
#extra_tag_file=
#history_height=10
#history_width=40
#key_addhost=Control-Shift-plus
#key_clientname=Alt-n
#key_history=Alt-h
#key_localname=Alt-l
#key_macros_enable=Alt-p
#key_paste=Control-v
#key_quit=Alt-q
#key_retilehosts=Alt-r
#key_username=Alt-u
#lang=en
#macro_hostname=%h
#macro_newline=%n
#macro_servername=%s
#macro_username=%u
#macro_version=%v
#macros_enabled=yes
#max_addhost_menu_cluster_items=6
#max_host_menu_items=30
#menu_host_autotearoff=0
#menu_send_autotearoff=0
#mouse_paste=Button-2
#rsh=rsh
#rsh_args=
#screen_reserve_bottom=60
#screen_reserve_left=0
#screen_reserve_right=0
#screen_reserve_top=0
#send_menu_xml_file=/home/mschumacher/.clusterssh/send_menu
#sftp=sftp
#sftp_args=
#show_history=0
ssh=/usr/bin/ssh
#ssh_args=
#telnet=telnet
#telnet_args=
#terminal=xterm
#terminal_allow_send_events=-xrm '*.VT100.allowSendEvents:true'
#terminal_args=
#terminal_bg_style=dark
#terminal_colorize=1
#terminal_decoration_height=10
#terminal_decoration_width=8
#terminal_font=6x13
#terminal_reserve_bottom=0
#terminal_reserve_left=5
#terminal_reserve_right=0
#terminal_reserve_top=5
#terminal_size=80x24
#terminal_title_opt=-T
#title=CSSH
#unmap_on_redraw=no
#use_all_a_records=0
#use_hotkeys=yes
#use_natural_sort=0
#window_tiling=yes
#window_tiling_direction=right
user=mschumacher

我会继续深入研究,看看是否能找出问题所在,但希望这会是一件简单易行的事情。

最佳答案

我的解决方案:

以根用户身份登录。输入命令“xhost +”,它应该返回“禁用访问控制,客户端可以从任何主机连接”。退出 root 并能够使用 cssh。

关于ssh - 如何解决 ClusterSSH 错误 "No Protocol specified",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59886325/

相关文章:

ssh - 为什么将 -T 与 ssh 一起使用

linux - opensuse samba客户端连接到windows服务器

linux - OpenSuse 13.2 zypper 不工作

linux - 在 OpenSuse 上安装 Nagios-Agent 错误

linux - 如何在 php 文件中搜索特定关键字?

ssh - 将自己锁定在 SSH 之外,Plesk 访问可用

linux - Bash 命令行参数通过 ssh 传递给 sed

docker - 如何从同一主机上的虚拟机 ping docker 容器?

ruby-on-rails - 无法与 Mina 部署协商 key 交换方法