随笔分类 -  linux

摘要:1. 本地生成 ssh 密钥对 打开 windows cmd 终端执行命令 (如果已有公私钥,可跳过此步骤) ssh-keygen -t rsa 生成的文件在 "C:\Users\用户\xxx\.ssh" 目录中 id_rsa 私钥 id_rsa.pub 公钥 如图所示: 2. 将公钥文件上传至远程 阅读全文
posted @ 2024-06-11 10:04 柳叶昶 阅读(666) 评论(0) 推荐(0)
摘要:1 远程文件复制拷贝 命令格式 scp [可选参数] file_source file_target ex: scp root@www.runoob.com:/home/root/others/music /home/space/music/1.mp3 scp -r www.runoob.com:/ 阅读全文
posted @ 2021-10-25 17:30 柳叶昶 阅读(84) 评论(0) 推荐(0)