Question: How to enable SSH Server in Manjaro Linux?
SSH Service can be enabled and launched on Manjaro in few simple steps using systemd commands (release: 16.06 – as of writing this post)
1. Install OpenSSH (if needed)
[tuxfixer@manjaro ~]$ sudo pacman -S openssh
Note: On fresh Manjaro installation OpenSSH service should be installed by default (OS release: 16.06 – as of writing this post).
2. Verify SSH Service status
[tuxfixer@manjaro ~]$ sudo systemctl status sshd.service
Note: OpenSSH service should be disabled by default.
3. Edit SSH Daemon config file (if needed)
[tuxfixer@manjaro ~]$ sudo nano /etc/ssh/sshd_config
4. Enable and launch SSH Service
[tuxfixer@manjaro ~]$ sudo systemctl enable sshd.service
[tuxfixer@manjaro ~]$ sudo systemctl start sshd.service
5. Test SSH connectivity
Try to connect to your Manjaro SSH Server from Client machine:
[tuxfixer@client ~]$ ssh email@example.com The authenticity of host '192.168.2.59 (192.168.2.59)' can't be established. ECDSA key fingerprint is SHA256:W5Gem3BN7Dyhxm0qUMIQBV6ZI9HnJSYEVEKJtZ7clyg. ECDSA key fingerprint is MD5:24:ef:a5:07:af:29:0a:e2:20:14:f5:a5:f4:c2:05:38. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '192.168.2.59' (ECDSA) to the list of known hosts. firstname.lastname@example.org's password: [tuxfixer@manjaro ~]$
Need Manjaro Linux VPS?
Check VPS prices on my cloud hosting:
Get your VPS now with a 50% discount using this code:
5 thoughts on “How to Enable SSH Service in Manjaro Linux”
Thanks for the guide.
For some (as yet unknown) reason, the ssh service wasn’t running on a couple of my machines following some updates, on Manjaro KDE.
very helpful for a beginner
I keep forgetting how to do this stuff on Manjaro as I do it so rarely. Thanks!
When I start a SSH session to my Manjaro RPi4, SecureCRT comes back with this error below, when I’ve selected all available SSH keys.
Is there a ‘pacman’ way of installing a basic Key such as ‘Kerberos (Group Exchange) -or-diffe-heilman-group14 or similar that my SecureCRT client does have?
Sorry, I’m a newbie to Manjaro with XFCE desktop, but liking it more every day!!
Key exchange failed.
No compatible key exchange method. The server supports these methods: curve25519-sha256,email@example.com,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group14-sha256
In your secureCRT “option property” you can select your Key exchange options