I have created a droplet on Digital Ocean and installed CentOS as its OS. I would like to resolve the frequent timeout of the remote ssh connection. I found a guide on this link how can i fix ssh timeout? . I have successfully navigated to /etc/ssh/ directory. When I list available sub-directories in /etc/ssh/ directory, I am able to see sshd_config sub-directory. However, when I try moving into the sub-directory I get the error "bash: cd: /etc/ssh/sshd_config: Not a directory." What could I be doing wrong?
Below is what I've keyed in the terminal
[root@centosFirstServer134327 ssh]# pwd
/etc/ssh
[root@centosFirstServer134327 ssh]# ls
moduli ssh_host_ecdsa_key ssh_host_ed25519_key.pub sshd_config
ssh_config ssh_host_ecdsa_key.pub ssh_host_rsa_key
ssh_config.d ssh_host_ed25519_key ssh_host_rsa_key.pub
[root@centosFirstServer134327 ssh]# cd /etc/ssh
[root@centosFirstServer134327 ssh]# cd /etc/ssh/sshd_config
bash: cd: /etc/ssh/sshd_config: Not a directory