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
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:
- I make a ssh connection from computer X to Y => OK
- 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@centos.org http://lists.centos.org/mailman/listinfo/centos
sudo find / -name "ssh"
See if you can find ssh anywhere on the system?
-----BEGIN GEEK CODE BLOCK----- Version: 3.1 GIT/MU/U dpu s: a--> C++>$ U+> L++> B-> P+> E?> W+++>$ N K W++ O M++>$ V- PS+++ PE++ Y+ PGP t 5 X+ R- tv+ b+> DI D+++ G+ e(+++++) h--(++) r++ z++ ------END GEEK CODE BLOCK------
George Alexandru Dudău wrote:
Hi All,
I have a strange problem with ssh on CentOS 5.3:
- I make a ssh connection from computer X to Y => OK
- 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@centos.org http://lists.centos.org/mailman/listinfo/centos
Hi
I also think you have some packages missing. In my CentOS-5.3, I have the following packages: # rpm -qa | grep ssh: openssh-4.3p2-29.el5 openssh-clients-4.3p2-29.el5 openssh-server-4.3p2-29.el5 openssh-askpass-4.3p2-29.el5
Regards
mg.
On 06 May 2009, at 10:57 AM, Marcelo M. Garcia wrote:
George Alexandru Dudău wrote:
Hi All,
I have a strange problem with ssh on CentOS 5.3:
- I make a ssh connection from computer X to Y => OK
- 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@centos.org http://lists.centos.org/mailman/listinfo/centos
Hi
I also think you have some packages missing. In my CentOS-5.3, I have the following packages: # rpm -qa | grep ssh: openssh-4.3p2-29.el5 openssh-clients-4.3p2-29.el5 openssh-server-4.3p2-29.el5 openssh-askpass-4.3p2-29.el5
Regards
mg.
SSH client is at /usr/bin/ssh it seems there is a problem with your $PATH if /usr/bin is not in the PATH.
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos