一、远程登录1、安装客户端 可以使用ssh(Secure Shell(缩写为SSH))来进行远程的登录。安装ssh的命令为:sudo apt-get install openssh-server 注意:远程链接的两台机器都比需要安装ssh。2、远程登录 在终端(Ctrl+Alt+T)执行命令:...
分类:
系统相关 时间:
2015-12-08 11:35:40
阅读次数:
168
#define_CRT_SECURE_NO_WARNINGS
#include<stdio.h>
#include<stdlib.h>
#include<assert.h>
#include<string.h>
typedefstruct//定义学生结构体
{
charname[20];
charnumber[20];
intscore;
}Student;
intstruct_cmp(constvoid*elem1,constvoid*..
分类:
编程语言 时间:
2015-12-08 02:03:41
阅读次数:
193
Kerberos是一种安全认证协议,意在提供more secure authenticationsimplified management of passwordconvenience of single sign onKerberos的基本结构Kerberos Client: 申请服务的一方Ker...
分类:
其他好文 时间:
2015-12-05 14:13:01
阅读次数:
196
#define_CRT_SECURE_NO_WARNINGS1#include<iostream>#include<assert.h>usingnamespacestd;//实现单链表:typedefintDataType;typedefstructListNode{ structListNode*_pNext; DataType_data;}ListNode;ListNode*NewNode(DataTypex){ ListNode*tem=(ListNode*)mall..
分类:
其他好文 时间:
2015-12-03 17:15:55
阅读次数:
127
#define_CRT_SECURE_NO_WARNINGS1#include<iostream>#include<assert.h>#defineDEFAULTNUME3usingnamespacestd;classString{public: int&GetCount() { return*(((int*)_str)-1); } char*GetStr() { return_str; } //找到字符ch并返回它的下标 intFind(charch..
分类:
编程语言 时间:
2015-12-03 17:15:21
阅读次数:
227
#define_CRT_SECURE_NO_WARNINGS1#include<iostream>#include<assert.h>usingnamespacestd;classDate{public: voiddisplay() { cout<<_year<<"-"<<_month<<"-"<<_day<<endl; } boolIsLeapyear(intyear) { return((year/400=..
分类:
编程语言 时间:
2015-12-03 17:15:13
阅读次数:
247
#define_CRT_SECURE_NO_WARNINGS1#include<iostream>#include<assert.h>usingnamespacestd;typedefintDataType;//definedouble-circular-linked-list-nodestructListNode{ DataType_data; ListNode*_prev; ListNode*_next;};classDCListNode//double-circular-link..
分类:
编程语言 时间:
2015-12-03 17:14:34
阅读次数:
214
(1)strstr寻找子字符串函数的实现#define_CRT_SECURE_NO_WARNINGS1#include<stdio.h>#include<string.h>#include<assert.h>typedefunsignedintuint;char*my_strncat(char*dest,constchar*src,uintcount);{/*my_strncat实现两个相同字符串的链接,因为在这..
分类:
其他好文 时间:
2015-12-03 02:20:58
阅读次数:
174
今天在做雅虎的时候,发现用第三方工具截取不到客户端与服务端的通讯,以前重来没碰到过这种情况,仔细看了看,它的url请求时基于https的,gg了下发现原来https协议和http有着很大的区别。总的来说,http效率更高,https安全性更高。首先谈谈什么是HTTPS:HTTPS(Secure Hy...
分类:
Web程序 时间:
2015-12-02 20:23:54
阅读次数:
116
最近给室友重装了电脑,win7的系统,结果第二天连网时出现了:无法建立连接条目。以下是解决方案:首先打开电脑:win+r 按键(不要问我win是哪个按键)------输入:services.msc---------再接着:找到以下几个选项:1:Telephony2:Secure Socket Tun...
分类:
其他好文 时间:
2015-12-01 22:38:15
阅读次数:
216