首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 操作系统 > UNIXLINUX >

向linux传输资料

2012-07-26 
向linux传输文件scp -r bakup root@218.6.15.16:/home/data0/htdocs/bakup 把你的本地主机用户的ssh公匙文

向linux传输文件
scp -r bakup root@218.6.15.16:/home/data0/htdocs/bakup 把你的本地主机用户的ssh公匙文件复制到远程主机用户的~/.ssh/authorized_keys文件中,假设本地主机linux(10.1.1.1),远程主机linux(10.1.1.2)   一,在linux100主机里的用户   运行   #ssh-keygen -t rsa   结果如下   Generating public/private rsa key pair.   Enter file in which to save the key (/home/.username/ssh/id_rsa):#回车   Enter passphrase (empty for no passphrase):#回车   Enter same passphrase again:#回车   Your identification has been saved in /home/.username /.ssh/id_rsa.   Your public key has been saved in /home/.username /.ssh/id_rsa.pub.   The key fingerprint [...]

热点排行