|
|
Linux中scp的一点小知识 |
|
|
作者:未知 来源:月光软件站 加入时间:2005-2-28 月光软件站 |
现在通过scp的实验终于明白了老师为什么让我们在自己的某个文件夹中添加一个文件,并把对方的主机的ip地址填写进去,原来是在安全检查的时候要用到,如果没有那个文件的话scp就会报出一个warning: The authenticity of host '10.60.38.3 (10.60.38.3)' can't be established. RSA key fingerprint is 41:5a:61:a4:0e:eb:3a:3c:da:88:1d:f2:52:ee:a9:7f. Are you sure you want to continue connecting (yes/no)? yes 之后还会有一个warning:Warning: Permanently added '10.60.38.3' (RSA) to the list of known hosts 如果添加了那个文件就不出现这两个warning,至于那个文件是什么,现在记不清楚了,上课时在问一下老师,呵呵 具体举例: [s021636@linux01 homework]$ scp [email protected]:/home/b02142047_zhangmingjin/homework/shell.c ./ 这个还要输入密码后才能copy另外一台主机上的shell.c文件
|
|
相关文章:相关软件: |
|