where is ssh
i used to know where is ssh file i know that by default it is disabled
but now i want to enable it. where is that file my distro is red hat9 |
Usually it would at /usr/bin/ssh
Are you sure it's installed? You can look for it with 'locate bin/ssh' Also try 'rpm -qa | grep ssh' John |
thanks for the quick response john i tried it it is installed
but it is disabled. it tried to ssh it but it refused how can i enable it |
What error message are you getting?
|
the message i am getting is "connection refused by remote host"
as i said earlier there is a file named i think sshd in which it is disabled by default. i just need to get that file.. thanks |
Are you trying to connect to some other machine, or to enable connections to yours?
For the first one, you'll have to talk to whoever administers the remote machine. For the second, look at 'man 5 hosts_access' and 'man sshd' John |
Quote:
On the remote host (if you have access), check if the sshd daemon is listening on port 22. lsof -i:22 Check the host based filters hosts.allow and hosts.demy Check Iptables Check you /etc/ssh/sshd_config On the client: All you need is openssh client ssh -l [USER] [HOST] |
Chances are the server isn't running. Try /usr/bin/sshd or /usr/local/bin/sshd or /usr/local/sbin/sshd or /usr/sbin/sshd.
|
All times are GMT -5. The time now is 04:26 AM. |