Linux serverlinux web serverNETWORK ADMINISTRATIONS

Setup ssh server on Arch Linux – easy & fast

This is how to setup ssh server on Arch linux, commands are below:
# Install required package:
sudo pacman -S openssh

# Edit config file:
sudo nano /etc/ssh/sshd_config
Uncomment and change “Port”

# Enable service startup on system boot:
sudo systemctl enable sshd.socket

# Start service:
sudo systemctl start sshd.socket

# Get your ip address:
ip addr

source

by Rouchage

linux web server

4 thoughts on “Setup ssh server on Arch Linux – easy & fast

  • Hi, I can't activate either the socket or the service… the error log says… unit that the socket does not exist… can you help me, thank you

  • Thanks, if anyone wants to know how to connect, I did it by typing this: ssh username@ip

  • In the config change PermitRootLogin to 'no' to make any bot attempts to brute force root login completely irrelevant. Thanks for the video. I couldn't remember if sshd was ready to go at install or not. A friend runs Arch on his laptop but the screen is borked. Gave him a tutorial on remotely administering the system from his phone via SSH

Comments are closed.