Re: Can't scp from HPUX to AIX

From: Logu (logsnaath_at_gmail.com)
Date: 05/11/05

  • Next message: Cale Fogel: "OpenSSH 3.9p1 +Kerberos principal error"
    To: <secureshell@securityfocus.com>
    Date: Wed, 11 May 2005 14:26:33 +0530
    
    

    > 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?

    For doing SCP the local and remote machine should have the scp binary and
    the remote scp should be in the path of the user you are trying to login.
    The default may be set duirng compile time in the config.h file like the
    below
    #define USER_PATH "/usr/bin:/bin:/usr/sbin"

    -logu


  • Next message: Cale Fogel: "OpenSSH 3.9p1 +Kerberos principal error"

    Relevant Pages

    • Re: Is SSH worth it??
      ... > We would be using SSH and SCP. ... SCP for automated scripts. ... > client will not be prompted for a password. ... remote machine, but imho it is better to swap client+server and give ...
      (Security-Basics)
    • Re: transferring files without NFS, SMB, HTTPD, or whatever
      ... You use scp, whose syntax is similar to cp: ... will copy local_file to users' home directory on the remote machine. ...
      (Fedora)
    • Re: scping 250,000 files
      ... I would prefer to use scp. ... The general solution is to use find, pipe though tar, pipe to ssh ... I didn't know stdin to ssh is sent over to remote machine. ...
      (comp.unix.shell)
    • Re: remote opening/saving, local editing
      ... Save the file in the remote machine. ... It currently supports both reading and writing across networks using rcp, scp, ftp or ftp+, scp, fetch, ... Sapere, saper fare, fare, far sapere http://gmax.oltrelinux.com. ...
      (comp.editors)
    • Re: scp problem
      ... >> I'm not dead sure how scp works, but I've observed that I am unable to ... >> So check your remote machine has scp, and it is in your PATH on the ... Chris ...
      (uk.comp.sys.mac)