会话共享功能

 时间:2024-10-14 04:44:24

1、如图所示:

会话共享功能

2、要实现会话共享功能,需要先通过客户终端A远程ssh连接到服务器主机端,并创建一个会话窗口:[root@client A ~]# ssh 192.168.10.10The authenticity of host '192.168.10.10 (192.168.10.10)' can't be established.ECDSA key fingerprint is 70:3b:5d:37:96:7b:2e:a5:28:0d:7e:dc:47:6a:fe:5c. Are you sure you want to continue connecting (yes/no)? yesWarning: Permanently added '192.168.10.10' (ECDSA) to the list of known hosts.root@192.168.10.10's password:Last login: Wed May 4 07:56:29 2017[root@client A ~]# screen -S linuxprobe[root@client A ~]#

3、然后开启第二台客户终端B远程ssh连接到服务器主机端,执行获取远程会话的命令即可,马上两台主机就能看到相同的内容了:[root@client B ~]# ssh 192.168.10.10The authenticity of host '192.168.10.10 (192.168.10.10)' can't be established.ECDSA key fingerprint is 70:3b:5d:37:96:7b:2e:a5:28:0d:7e:dc:47:6a:fe:5c. Are you sure you want to continue connecting (yes/no)? yesWarning: Permanently added '192.168.10.10' (ECDSA) to the list of known hosts.root@192.168.10.10's password:Last login: Wed Feb 22 04:55:38 2017 from 192.168.10.10[root@client B ~]# screen -x [root@client B ~]

  • SQL查询:[4]分组查询
  • 逆水寒淡妆浓抹总相宜攻略
  • 高质量剃须刀推荐,教你怎样选择最合适的剃须刀
  • fifa online4 f币俱乐部怎么换
  • 牙齿矫正:[7]带牙套多少钱?我的整牙价格
  • 热门搜索
    嗤之以鼻什么意思 国内运动品牌 卖什么小吃简单挣钱 运动会入场式道具 连花清瘟胶囊的功效与作用 谷维素片的功效与作用 蛇酒的功效与作用 桂花酒的功效与作用 黄连素的作用 青皮的功效与作用