I upgraded a compiled version of ssh-1.2.27 to a swinstalled depot of OpenSSH_2.5.1p1 on HPUX-11.00. I created links in /usr/local/bin/<ssh program> pointing to /opt/openssh2/bin/<ssh program>. Ssh works. Scp does not. HP support does not support ssh. Below the line you will find the output of a verbose scp command from the server to it self. ------------------------------------------- scp -v text.txt jstile at HPUXserver:~/test.txt Executing: program /opt/openssh2/bin/ssh host HPUXserver, user jstile, command scp -v -t ~/test.txt jstile at HPUXserver's password: Permission denied, please try again. jstile at HPUXserver's password: ksh: scp: not found lost connection
quick fix: ln -s ../local/bin/scp /usr/bin/scp (which should in turn point to /opt/openssh2/...) better fix: recompile sshd with the proper default path ;) devon ----- Original Message ----- From: "John Stile" <jstile at ohlone.cc.ca.us> To: <openssh-unix-dev at mindrot.org> Sent: Wednesday, May 09, 2001 12:24 PM Subject: "ksh: scp: not found"> I upgraded a compiled version of ssh-1.2.27 to a swinstalled depot of > OpenSSH_2.5.1p1 on HPUX-11.00. > I created links in /usr/local/bin/<ssh program> pointing to > /opt/openssh2/bin/<ssh program>. > Ssh works. Scp does not. HP support does not support ssh. > Below the line you will find the output of a verbose scp command from > the server to it self. > > ------------------------------------------- > scp -v text.txt jstile at HPUXserver:~/test.txt > Executing: program /opt/openssh2/bin/ssh host HPUXserver, user jstile, > command scp -v -t ~/test.txt > jstile at HPUXserver's password: > Permission denied, please try again. > jstile at HPUXserver's password: > ksh: scp: not found > lost connection >
this is a known problem. check the FAQ. did you install openssh on the remote machine, or just the local? (i.e. do you have control over the remote machine "HPUXserver"?) scp needs to be installed on both machines. if you are sure scp is installed on the remote machine, ensure that scp is in your path on that machine. wendy John Stile wrote:> > I upgraded a compiled version of ssh-1.2.27 to a swinstalled depot of > OpenSSH_2.5.1p1 on HPUX-11.00. > I created links in /usr/local/bin/<ssh program> pointing to > /opt/openssh2/bin/<ssh program>. > Ssh works. Scp does not. HP support does not support ssh. > Below the line you will find the output of a verbose scp command from > the server to it self. > > ------------------------------------------- > scp -v text.txt jstile at HPUXserver:~/test.txt > Executing: program /opt/openssh2/bin/ssh host HPUXserver, user jstile, > command scp -v -t ~/test.txt > jstile at HPUXserver's password: > Permission denied, please try again. > jstile at HPUXserver's password: > ksh: scp: not found > lost connection-- wendy palm Cray OS Sustaining Engineering, Cray Inc. wendyp at cray.com, 651-605-9154
On Wed, 9 May 2001, John Stile wrote:> I upgraded a compiled version of ssh-1.2.27 to a swinstalled depot of > OpenSSH_2.5.1p1 on HPUX-11.00. > I created links in /usr/local/bin/<ssh program> pointing to > /opt/openssh2/bin/<ssh program>. > Ssh works. Scp does not. HP support does not support ssh. > Below the line you will find the output of a verbose scp command from > the server to it self. > > ------------------------------------------- > scp -v text.txt jstile at HPUXserver:~/test.txt > Executing: program /opt/openssh2/bin/ssh host HPUXserver, user jstile, > command scp -v -t ~/test.txt > jstile at HPUXserver's password: > Permission denied, please try again. > jstile at HPUXserver's password: > ksh: scp: not found > lost connectionOpenSSH_2.5.1p1 was released on 20010219 the patch to fix this didn't show up until 20010311 Upgrade or reconfigure using the --with-default-path= option. Wherever scp is installed, must be in the path.>-- Tim Rice Multitalents (707) 887-1469 tim at multitalents.net