本月博客排行
-
第1名
kaizi1992 -
第2名
arpenker -
第3名
wy_19921005 - hanbaohong
- jh108020
年度博客排行
-
第1名
龙儿筝 -
第2名
宏天软件 -
第3名
青否云后端云 - vipbooks
- wy_19921005
- benladeng5225
- fantaxy025025
- e_e
- kaizi1992
- tanling8334
- arpenker
- sam123456gz
- javashop
- zysnba
- xiangjie88
- lemonhandsome
- wallimn
- ganxueyun
- Xeden
- xyuma
- zhanjia
- wangchen.ily
- jh108020
- johnsmith9th
- zxq_2017
- jbosscn
- forestqqqq
- daizj
- ajinn
- xpenxpen
- ranbuijj
- 喧嚣求静
- kingwell.leng
- silverend
- lchb139128
- kristy_yy
- jveqi
- lich0079
- lzyfn123
- java-007
- sunj
- yeluowuhen
- lerf
- xiaoxinye
- flashsing123
- zhangjijun
- lxguy
- bosschen
- lyndon.lin
- sunnylocus
最新文章列表
tcp_wrappers防火墙介绍
一 查看系统是否安装了tcp_wrappers
如果有上面类似输出,表示已经安装了tcp_wrappers模块。如果没有显示,可能没有安装,就需要通过yum或者rpm工具进行安装。
二 tcp_wrappers防火墙的局限性
系统中的某个服务是否使用了tcp_wrappers防火墙,取决于服务是否应用了libwrapped库文件,如果应用了就可以使用tcp_wrappers防火墙,系统 ...
Linux SSH常用总结
转载请出自出处:http://eksliang.iteye.com/blog/2186931
一、连接到远程主机
格式:
ssh name@remoteserver
例如:
ssh ickes@192.168.27.211
二、连接到远程主机指定的端口
格式:
ssh name@remoteserver -p 22
例如:
ssh ickes@192.168 ...
SSH 登陆IP控制
55.2.3. pam_access.so
编辑 /etc/pam.d/sshd 文件,加入下面一行
account required pam_access.so
保存后重启sshd进程
编辑 /etc/security/access.conf 文件
cat >> /etc/security/access.conf << EOF ...
install openssh-server on ubuntu
1.ps -e |grep ssh
2.
sudo apt-get install openssh-server
3.ps -e|grep ssh
if exists sshd then ok
4. configure ports and other info in /etc/ssh/ssh_config
5. sudo /etc/init.d/ssh restart
...
OpenSUSE下启动ssh和samba服务以及防火墙设置
在虚拟机VirtualBox下装了OpenSUSE,默认情况下ssh和samba服务都是不启动的,可以通过以下命令(以root权限)查看: # chkconfig -l | grep -w "sshd" sshd 0:off 1:off 2:off 3:off 4:off 5:off 6:off # chkconfi ...
linux常用命令5
1.gunzip解压时,报File too large
解决方法:
打开/etc/security/limits文件,修改相应的文件大小约束值:
default:
fsize = -1
core = 4194304
cpu = -1
data = 4194304
rss = 4194304
stack = ...
linux禁止root通过SSH远程登录访问设置
禁止ROOT通过SSH远程登录访问改/etc/ssh/sshd_config文件。找如下的一句#PermitRootLogin yes改为如下的;PermitRootLogin no注意,要把前面的#号去掉。重启sshd服务器[root@linuxsir001 root]# service sshd restart