Sunday, November 22, 2026
TR
LinuxOpen Source

Connecting to a Remote Deepin 15.9.2 Machine via SSH

Connecting to a Remote Deepin 15.9.2 Machine via SSH

You may need to reach your Deepin machine running at home or at the office from another computer over ssh. Below are the steps you need to follow.

First, we install the openssh services on the machine we want to connect to.

sudo apt-get install -y openssh-server openssh-client

Then we start the ssh service.

sudo /etc/init.d/ssh start

If you already know the IP address of the computer you want to connect to, you can move on to the next command. If not, find your PC's IP address with the ifconfig command.

Now we can make an ssh connection from our terminal with the following command.

ssh kullanici_adi@ip_adresi

ssh chatos@192.168.2.15

If you want to change the connection port

sudo nano /etc/ssh/sshd_config

open the settings with this command and replace the line that says port 22 with a value such as port 2299. Our new port becomes 2299. You can assign any unused port value you like.

sudo /etc/init.d/ssh restart

We apply the settings with this command.

For new connections

ssh kullanici_adi@ip_adresi -p 2299

  ssh chatos@192.168.2.15 -p 2299

you can establish your connection as in this example.

Kerim Koç

Systems and infrastructure engineer. I write about Linux, open source, high availability and security.