11 年前

rsync+ssh 无服务端无密码同步配置

rsync+ssh   无密码同步   系统服务  

免去rsync server端的繁琐配置,更加灵活易用 使用ssh-keygen生成密匙 -P 快速生成 /root/.ssh/id_rsa.pub. root@leoiceo#ssh-keygen -t rsa -P '' Generating public/private rsa key pair. Enter file in which to save the key (/root/.ssh…

11 年前

如何禁用SSH首次远程登录验证?

ssh   ssh加速   疑难杂症  

问题经常遇到这样的问题,如下,很是麻烦,找到了解决办法。 ssh -p22 192.168.1.10 The authenticity of host '[192.168.1.10]:22 ([192.168.1.10]:22)' can't be established.RSA key fingerprint is c1:a1:8b:9f:30:dc:2b:6d:a7:75:e5:67:60:…

11 年前

MySQL初级技能基础管理知识

数据库   mysql基础  

一、连接mysql 格式 mysql -h主机地址 -u用户名 -p用户密码 连接到本机上的mysql,默认安装好没有密码 mysql -uroot -p 连接到远程主机上的mysql,假设远程主机的IP为:192.168.1.66,用户 名为root,密码为123456 mysql -h192.168.1.66 -uroot -p123456 注:u与root可以不用加空格,其它也一…