ssh command not found
Posted: 2012/02/19 15:43:18
Hi Experts,
In my centOS6 machine ssh cmd is giving the following Error
# ssh
-bash: ssh: command not found
checked the sshd service as below
# service sshd status
openssh-daemon (pid 5406) is running...
But cmd not available in below paths and the file ssh_config is not available under /etc/ssh
# which ssh
/usr/bin/which: no ssh in (/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)
# ls -lrt /etc/ssh
total 152
-rw-------. 1 root root 125811 Nov 12 2010 moduli
-rw-r--r--. 1 root root 627 Dec 11 18:18 ssh_host_key.pub
-rw-------. 1 root root 963 Dec 11 18:18 ssh_host_key
-rw-------. 1 root root 1675 Dec 11 18:18 ssh_host_rsa_key
-rw-r--r--. 1 root root 382 Dec 11 18:18 ssh_host_rsa_key.pub
-rw-r--r--. 1 root root 590 Dec 11 18:18 ssh_host_dsa_key.pub
-rw-------. 1 root root 668 Dec 11 18:18 ssh_host_dsa_key
-rw-------. 1 root root 3848 Feb 19 19:08 sshd_config
Any advise ?
Thanks,
KK.
In my centOS6 machine ssh cmd is giving the following Error
# ssh
-bash: ssh: command not found
checked the sshd service as below
# service sshd status
openssh-daemon (pid 5406) is running...
But cmd not available in below paths and the file ssh_config is not available under /etc/ssh
# which ssh
/usr/bin/which: no ssh in (/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)
# ls -lrt /etc/ssh
total 152
-rw-------. 1 root root 125811 Nov 12 2010 moduli
-rw-r--r--. 1 root root 627 Dec 11 18:18 ssh_host_key.pub
-rw-------. 1 root root 963 Dec 11 18:18 ssh_host_key
-rw-------. 1 root root 1675 Dec 11 18:18 ssh_host_rsa_key
-rw-r--r--. 1 root root 382 Dec 11 18:18 ssh_host_rsa_key.pub
-rw-r--r--. 1 root root 590 Dec 11 18:18 ssh_host_dsa_key.pub
-rw-------. 1 root root 668 Dec 11 18:18 ssh_host_dsa_key
-rw-------. 1 root root 3848 Feb 19 19:08 sshd_config
Any advise ?
Thanks,
KK.