faith丶

导航

统计

随笔分类 -  S===ssh

ssh 连接问题
SSH登陆远程主机后进入指定目录或执行命令
摘要:### 1.切换目录 [root@alpha01~]$ ssh root@192.168.56.12 -t "cd /home/wx/services/dev01;bash --login" [alphaReadLog@alpha02 dev01]$ pwd /home/wx/services/de 阅读全文

posted @ 2021-03-19 16:53 faith丶 阅读(1752) 评论(0) 推荐(0) 编辑

Centos * 禁止除本机外其他服务器使用root用户登录服务器,允许指定用户登录服务器配置
摘要:1.本机ip信息 # 配置 允许那些服务器可以ssh连接本机 服务器 [root@centos-test ~]# ifconfig eth0 eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 192.168.56.30 ne 阅读全文

posted @ 2020-09-27 15:40 faith丶 阅读(544) 评论(0) 推荐(0) 编辑

ssh连接服务器速度慢优化
摘要:1、链接速度慢 开始连接到 root@node 5.3 Last login: Mon Apr 13 09:47:24 2020 from 192.168.56.33 Welcome to Alibaba Cloud Elastic Compute Service ! [root@node ~]# 阅读全文

posted @ 2020-04-13 11:01 faith丶 阅读(390) 评论(0) 推荐(0) 编辑

centos7系统root无法通过su切换到某个普通用户
摘要:如下,提示资源不足 [root@namenode01 backup]# su - app Last login: Tue Apr 26 09:48:44 CST 2016 from application03 on pts/0 su: failed to execute /bin/bash: Res 阅读全文

posted @ 2019-11-07 10:49 faith丶 阅读(1789) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示