@import url("global.css");
分类:
Web程序 时间:
2014-05-27 01:55:06
阅读次数:
216
这是SSHSecureShellClient多年未解决的短板,要求客户端和服务器端都要‘UTF-8’编码,Windows中文版的编码是非UTF-8。zh_CN.UTF-8是UTF编码的中文语言环境。Windows使用的是GB2312编码,大多数linux系统支持的是UTF-8编码,而远程登陆时使用的...
分类:
其他好文 时间:
2014-05-24 05:50:21
阅读次数:
263
1. 打通ssh key的简单方法:ssh-copyid192.168.1.12.使用ssh
将Linux主机变成http代理服务器ssh-NfD192.168.22.1:10080127.0.0.1192.168.22.1:10080
表示监听本机192.168.22.1这个ip的10080端口。...
分类:
其他好文 时间:
2014-05-19 19:56:20
阅读次数:
500
调用TdxAPI.dll函数.DLL命令 TdxInit, 逻辑型, "TdxApi.dll",
"TdxInit", , 初始化通达信实例,成功时返回true,失败时返回false .参数 IP, 文本型, , 交易服务器IP .参数 Port, 整数型,
, 交易服务器端口 .参数 Versio...
环境配置项目使用SSH架构,现在要添加Spring事务管理功能,针对当前环境,只需要添加Spring 2.0
AOP类库即可。添加方法:点击项目右键->Build Path->Add librarys:打开Add Libraries对话框,然后选定
MyEclipse Libraries:点击Nex...
分类:
编程语言 时间:
2014-05-19 18:23:14
阅读次数:
539
1. 使用命令行停止防火墙 /etc/init.d/SuSEfirewall2_init
stop /etc/init.d/SuSEfirewall2_setup stop 2. 修改 vi /etc/ssh/sshd_config 修改:
#PermitRootLogin yes Password...
分类:
系统相关 时间:
2014-05-19 17:45:38
阅读次数:
368
【题目】
Given a linked list, swap every two adjacent nodes and return its head.
For example,
Given 1->2->3->4, you should return the list as 2->1->4->3.
Your algorithm should use only constant space. You may not modify the values in the list, only nodes it...
分类:
其他好文 时间:
2014-05-18 08:37:57
阅读次数:
370
//rbtree.h /* Red Black Trees (C) 1999 Andrea
Arcangeli This program is free software; you can redistribute it and/or modify
it under the terms of the...
分类:
系统相关 时间:
2014-05-18 01:05:37
阅读次数:
489
ssh登陆不能在命令行中指定密码。sshpass的出现,解决了这一问题。sshpass用于非交互SSH的密码验证,一般用在sh脚本中,无须再次输入密码。它允许你用-p参数指定明文密码,然后直接登录远程服务器,它支持密码从命令行、文件、环境变量中读取。其默认没有安装,需要手动安装,方法如下:sshpa...
分类:
其他好文 时间:
2014-05-18 00:51:14
阅读次数:
258
1.
denyhost简介及ssh安全对外提供的服务器,每天都会被恶意扫描,试图暴力穷举密码,达到入侵的目的。从而控***务器,占用资源、网页挂马、垃圾广告、更会影响我们业务的正常使用和数据的安全。所以:第一
设置一个强密码是很有必要的(基于字典和纯数字是十分不理智的)第二当有人恶意扫描是使用den...
分类:
其他好文 时间:
2014-05-18 00:40:00
阅读次数:
299