Arch Linux: Turning on sshd

1. Create RSA key pairs:

ssh-keygen.

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

2. Turn on sshd service:

sshd

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:

mount.

6. If not mounted:

mount /dev/pts

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

Leave a Reply

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

WordPress.com Logo

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

Facebook photo

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

Connecting to %s