# ssh-note **Repository Path**: Yang123321/ssh-note ## Basic Information - **Project Name**: ssh-note - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-12-22 - **Last Updated**: 2021-12-22 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README 1、ssh-all是根据https://blog.csdn.net/qing666888/article/details/81334110进行编译的 用在A64的板子上 2、ssh-all-install 这个是ssh-all的摘要,包含了需要安装到a64中的文件和安装脚本 3、获取ssh秘钥的方法 https://github.com/mthbernardes/sshLooterC 4、ssh登录 ssh -i id_rsa root@192.168.100.15 -o StrictHostKeyChecking=no 其中-o StrictHostKeyChecking=no用来使ssh不用检查host的信任 这个操作等价于在/etc/ssh/ssh_config中添加: StrictHostKeyChecking no UserKnownHostsFile /dev/null 4.1通过ssh执行命令 ssh -i id_rsa root@192.168.100.15 -o StrictHostKeyChecking=no "sync && reboot" 5、设置秘钥的权限 chmod 700 id_rsa