Under most versions of SSHD that I have used using "scp://bcterwinlinux/~/website/Remora4" would do the trick. The ~ indicates the home directory.
Dana H. P'Simer Transaction Platform Development Revenue & Guest Technology IHG - InterContinental Hotels Group Dana.P'[EMAIL PROTECTED] > -----Original Message----- > From: Marose, Justin (GE EntSol, Security) > [mailto:[EMAIL PROTECTED] > Sent: Monday, March 24, 2008 12:05 PM > To: users@maven.apache.org > Subject: site:deploy URL issue? > > All, > > When doing a site:deploy to a Linux machine, I get the following error > message: > > [INFO] [site:deploy] > scp://bcterwinlinux/website/Remora4 - Session: Opened > Executing command: mkdir -p /website/myFolder/. > scp://bcterwinlinux/website/myFolder - Session: Disconnecting > scp://bcterwinlinux/website/myFolder - Session: Disconnected [INFO] > -------------------------------------------------------------- > ---------- > [ERROR] BUILD ERROR > [INFO] > -------------------------------------------------------------- > ---------- > [INFO] Error uploading site > > Embedded error: Error performing commands for file transfer > Exit code: 1 - mkdir: cannot create directory `/website': > Permission denied > > It appears that mkdir attempts to create the folder in the > root of the file system (/website/myFolder), to which we > obviously don't have access. > > Three questions: > 1. Is there a way to get rid of the leading '/' in the > directory name?, or 2. Is there an scp version on RH FC3 > that does a chroot? > 3. Am I missing something obvious? > > Thanks in advance, > Justin > >
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]