Re: SSH problems - command not found

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi George,

i guess it could be the iptables ( blocking outbound traffic)

try iptables -F(flush) and then try ssh to  other machine 

If the above doesnt work try looking at your selinux

--
Harry

George Alexandru Dudău wrote:
> Hi All,
>
> I have a strange problem with  ssh on CentOS 5.3:
>
> 1. I make a ssh connection from computer X to Y => OK
> 2. When i try to conect from Y to Z i receive a strange message:
>
> -bash: ssh: command not found
>
> (normal and root user)
>
> #which sshd
> /usr/sbin/sshd
>
> The sshd daemon it's on  (see nr.1)
>
> So connection to   Y it's OK, but from Y to another computer don't. Even 
> back to X don't work
>
> Any advice?
>
> Thank you!
>
> P.S - sorry for my bad english
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos
>   


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux