
SSH
Iceflame
这个作者很懒,什么都没留下…
展开
-
SSH登录时开启密码登录模式
修改/etc/ssh/sshd_config文件PasswordAuthentication no - 》 PasswordAuthentication yes重启ssh服务即可:service sshd restart转载 2016-03-14 17:55:09 · 4786 阅读 · 0 评论 -
linux新用户和权限管理
1.增加新用户 useradd –d 主目录路径 -m 用户名2.增加密码转载 2016-03-14 18:50:25 · 557 阅读 · 0 评论 -
Nginx反向代理基本配置
1.下载安装nginx yum install nginx2.配置nginx vi /etc/nginx/nginx.conf 配置详解 user nginx; worker_processes 1; //工作线程,即接收消息的线程数 一般情况下 可以使用auto 即cpu核心数 error_lo原创 2016-03-15 12:23:50 · 683 阅读 · 0 评论 -
让SSH自动帮你查找上次输入的命令
通过 cat 命令在用户根路径下创建一个 .inputrc 文件并添加以下代码# for searh input history"\e[A": history-search-backward"\e[B": history-search-forward"\C-p": history-search-backward"\C-n": history-search-forward原创 2016-03-14 16:34:07 · 1652 阅读 · 0 评论