Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Secure-Shell
[Top] [All Lists]

RE: Can't scp from HPUX to AIX

Subject: RE: Can't scp from HPUX to AIX
Date: Tue, 10 May 2005 13:35:21 -0400
Ok.  I just figured this out.  By default scp is installed in /usr/bin
on HP-UX and in /usr/local/bin on AIX.  If I initiate the scp on my
HP-UX box, the path to the scp command on the target box (AIX) must
exist in the PATH environment of the root process which starts up the
command.  I added /usr/local/bin to my /etc/PATH statement on HP-UX and
it works fine.

It worked in the other direction when initiated on AIX because the path
to scp on HP-UX, /usr/bin, was already in my PATH variable for the root
process.


-----Original Message-----
From: Hicks,Rodger 
Sent: Tuesday, May 10, 2005 12:24 PM
To: 'Senthil Kumar'
Cc: secureshell@securityfocus.com
Subject: RE: Can't scp from HPUX to AIX

I figured out that the default configuration file on AIX was set to not
allow root to scp.  However, now it fails because it can't find scp on
the target box.  I have to add the path for AIX which is /usr/local/bin
to my PATH variable on HP-UX so that it can find it on AIX.  This seems
strange to me.  Can anyone confirm this behavior?

-----Original Message-----
From: Senthil Kumar [mailto:senthilkumar_sen@hotpop.com] 
Sent: Tuesday, May 10, 2005 12:13 PM
To: Hicks,Rodger
Cc: secureshell@securityfocus.com
Subject: Re: Can't scp from HPUX to AIX

Hicks Rodger wrote:-
I'm trying to scp a file from HPUX (OpenSSH 3.7.1P2) to AIX (4.0).  It
asks me to authenticate, I type in the password and after three
attempts
it fails with "no more authentication methods to try".  I know I'm not
typing in the password incorrectly because I can telnet fine.  Same
problem happens with ssh, obviously.  However, everything works fine in
the direction if I scp from AIX to HP-UX.

Could u send the debug outputs for server? Also check if any of your PAM

configurations are affecting this?

Regards,
Senthil Kumar.




Confidentiality Notice: The information contained in this e-mail and any 
attachments (including, but not limited to, any attached e-mails) may be 
legally privileged and confidential. If you are not an intended recipient, you 
are hereby notified that any dissemination, distribution or copying of this 
e-mail is strictly prohibited. If you have received this e-mail in error, 
please notify the sender and permanently delete the e-mail and any attachments 
immediately. You should not retain, copy or use this e-mail or any attachment 
for any purpose, nor disclose all or any part of the contents to any other 
person. Thank you. 

<Prev in Thread] Current Thread [Next in Thread>