Arch Linux: Turning on sshd

1. Create RSA key pairs:


Save the generated key pairs as /etc/ssh/ssh_host_rsa_key

2. Turn on sshd service:


3. Check if the service is present:

netstat -antp |grep 22

4. Add a line in /etc/fstab to mount /dev/pts, this is so whenever Arch boots up /dev/pts will be mounted. At the same time mount /dev/pts.

5. Check if /dev/pts is mounted or not:


6. If not mounted:

mount /dev/pts

Notice devpts is mounted to /dev/pts automatically by Arch.

This entry was posted in Linux, Security, System OS and tagged , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s