摘要:
新建用户 create user 'username'@'%' identified by 'password'; • user_name:要创建用户的名字。 • host:表示要这个新创建的用户允许从哪台机登陆,如果只允许从本机登陆,则 填 ‘localhost’ ,如果允许从远程登陆,则填 ‘% 阅读全文
摘要:
安装ssh服务器 sudo apt-get install openssh-server 安装ssh客户端 sudo apt-get install openssh-client 配置ssh客户端,去掉PasswordAuthentication yes前面的#号,保存退出 sudo vi /etc 阅读全文