Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Marin-Kitagawa/44f1d30ea8503866b849e5a2d5935360 to your computer and use it in GitHub Desktop.
Save Marin-Kitagawa/44f1d30ea8503866b849e5a2d5935360 to your computer and use it in GitHub Desktop.
Configuring ssh in Manjaro

Install openssh

Run the following command to install ssh service

sudo pacman -Syu openssh

Check the status of ssh service

sudo systemctl status sshd.service

It must be disabled by default

Edit the ssh config file

If needed, make necessary changes to the ssh config file using

sudo vim /etc/ssh/sshd_config

Enable ssh service

sudo systemctl enable sshd.service

Start the ssh service

sudo systemctl start sshd.service

Connecting to Manjaro from Windows

To connect from Windows we need to know the ip address of our Manjaro VM Make sure that you are using a Bridged Connection (not NAT) in VirtualBox where Manjaro runs Execute the following command to get the IP address

ip a

Note the IP address inet of the adapter (not the loopback one with the ip 127.0.0.1) To connect to Manjaro from Windows, you need an ssh client such as Putty or Termius. I use Termius

  1. Create a new host
  2. Add the IP address in the address and save
  3. Click on the vertical ellipsis on the newly created host and connect via ssh
  4. Type the username used in Manjaro
  5. Type the password for the same
  6. Now you are connected to Manjaro Linux from Windows
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment