[Bug 985] scp doesn't honor local ~/.ssh/config for host2
    bugzilla-daemon at mindrot.org 
    bugzilla-daemon at mindrot.org
       
    Tue Feb 22 05:14:56 EST 2005
    
    
  
http://bugzilla.mindrot.org/show_bug.cgi?id=985
           Summary: scp doesn't honor local ~/.ssh/config for host2
           Product: Portable OpenSSH
           Version: 3.8p1
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P4
         Component: scp
        AssignedTo: openssh-bugs at mindrot.org
        ReportedBy: missnglnk at missnglnk.com
When copying a file between two remote hosts (scp host1:/path/to/file 
host2:/path/to/file), it is the equivalent of:
ssh host1 'scp /path/to/file host2:/destination/path'
If you are using locally-defined nicknames for hosts (from ~/.ssh/config), the 
copy to host2 will fail if the nickname is not defined in host1's ~/.ssh/config.
Perhaps, the user can specify a command line argument to optionally have the 
local instance of scp can pass the locally-defined parameters for host2 (if it 
exists in ~/.ssh/config), to the ssh process being spawned on host1...
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
    
    
More information about the openssh-bugs
mailing list