본문 바로가기

서버

ubuntu - ssh 포트 변경

728x90

 

1. port 변경

vi /etc/ssh/sshd_config

 

2. ssh 데몬 재시작

sudo systemctl restart ssh