[小技巧] ubuntu安装ssh-server

date
Mar 6, 2024
slug
tip-ssh-server-ubuntu
status
Published
summary
小技巧
tags
tip
type
Post
URL
 

Problem & Summary

sudo apt install -y openssh-server openssh-client
systemctl enable --now ssh
systemctl status ssh


sudo systemctl restart ssh
# or
sudo service ssh restart


# config file
vi /etc/ssh/sshd_config

Solution

    Screenshots

     

    © Ying Bun 2021 - 2024