ssh


安装ssh:sudo apt-get install openssh-server

更改端口,限制root的配置文件:/etc/ssh/sshd_config

重启服务:sudo service ssh restart

查看连接日志文件:/var/log/auth.log


登陆代码:主机名@地址:端口

你可能感兴趣的:(ssh)