Set up NordVPN OpenVPN on Western Digital My Cloud

Channel:
Subscribers:
1,660
Published on ● Video Link: https://www.youtube.com/watch?v=VbhtqJQur-0



Duration: 2:12
12 views
0


Here's how to Set up NordVPN OpenVPN on Western Digital My Cloud. Get NordVPN@ https://nordvpn.sjv.io/c/376211/570073/7452.

i. Here are the general steps to enable SSH access on supported devices:

1. Check if SSH is already enabled. On Linux/UNIX, enter:

```
ps aux | grep sshd
```

If sshd is running, SSH is already enabled.

2. If sshd is not running, install the SSH server package:

```
sudo apt install openssh-server
```

3. Edit the SSH daemon configuration file (usually /etc/ssh/sshd_config) to enable the SSH server by setting:

```
Port 22
Protocol 2
```

4. Start the ssh service:

```
sudo service ssh start
```

or

```
sudo systemctl start ssh
```

5. Check the status to confirm ssh is running:

```
sudo service ssh status
```

6. On the client machine, use `ssh user@server-ip` to connect. You may need to configure firewall rules to allow SSH connections on port 22.

The same general idea applies across different devices/OSes - install SSH server, correctly configure sshd, start SSH service, open necessary firewall ports. Refer to your device documentation for any specific instructions.

ii. Here are some of the commonly reported issues when running SSH applications and how to troubleshoot them:

1. Connection timed out error - This is likely a network/firewall issue. Check if the SSH port (default 22) is allowed in the firewall or security groups. Also verify network connectivity between client and server.

2. Authentication failed errors - The user credentials being passed are incorrect. Double check the username and password/keys are valid and re-enter them carefully.

3. Protocol mismatch error - The SSH client and server have mismatched protocols or ciphers enabled. Edit sshd_config and ssh_config to standardize permitted ciphers and protocol versions.

4. Remote host identification changed error - The server's SSH keys changed compared to what the client expected. Delete old host keys stored in ~/.ssh/known_hosts and re-connect to store new host keys.

5. Permission denied errors - The user being passed through SSH does not have execute permissions for the connection directory or shell. Check permissions on ~/.ssh folder, authorized_keys file and user's shell directory.

6. Broken pipe or connection reset errors - This indicates a network issue, firewall filtering, or application failure. Check VPNs, proxies, MTU size and application logs.

7. Too many open files error - The SSH process is hitting its maximum open files limit, usually ulimits. Raise the ulimits value in /etc/security/limits.conf.

8. SSH daemon not running error - The SSH server process has crashed or failed. View logs and restart the sshd service.

Checking logs, firewall rules, permissions, user accounts and network stability are good first steps for any SSH troubleshooting.