官方文档:https://docs.gitlab.com/ee/ssh/ Generating a new SSH key pair To generate a new SSH key pair, use the following command:Git Bash on Windows / GNU/Linux / macOS: ssh-keygen -t rsa -C "your.email@example.com" -b 4096 生成后的ssh key在~/.ssh中 If y…
为了减少软件扫描ssh登陆 还是用这个比较好点 默认端口号22 也要改 登陆密码也不要使用 弱口令 123456 这样的 Description DenyHosts is a python program that automatically blocks ssh attacks by adding entries to /etc/hosts.deny. DenyHosts will also inform Linux administrators about offending hosts,…