---
# System prepended metadata

title: Connect to ubuntu server through ssh
tags: [ssh, env-setup]

---

# Connect to ubuntu server through ssh
###### tags: `env-setup` `ssh`

要連回家裡的Ubuntu電腦, 而有時候只需要使用terminal, 不需要圖形化介面
使用一般的終端機軟體就可以透過ssh連回去

install openssh-server:

	sudo apt install openssh-server


check the status, it should be activate:

	sudo systemctl status ssh

allow ssh:

	sudo ufw allow ssh

Open any kind of terminal app and connect to ubnutu server by its ip address.
