Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » DSDP - Target Management » Partial functionality using account without shell access?
Partial functionality using account without shell access? [message #25147] Sun, 27 July 2008 13:20 Go to next message
darkangel is currently offline darkangelFriend
Messages: 62
Registered: July 2009
Member
Hi,

When I create an SSH-only connection and log in using an account which
does not have shell access, I am able to navigate the file system and
download/update files, but when I perform a copy operation from one
directory to another within the server (as far as I know the account owns
these directories), the progress dialog is displayed, etc., but the file
is not copied, and I can't see any error message in my workspace log file.

Why can I do some things and not others?

Thanks,

Glen.

Eclipse 3.4 (Ganymede)
Re: Partial functionality using account without shell access? [message #25699 is a reply to message #25147] Wed, 06 August 2008 17:39 Go to previous message
Martin Oberhuber is currently offline Martin OberhuberFriend
Messages: 985
Registered: July 2009
Senior Member
Hi Glen,

The Sftp protocol standard which SSH uses for file transfer
does not support copying files remotely. Therefore, RSE
falls back to issuing an "cp -Rf" command via a shell
channel.

Apparently, error reporting is not appropriate for your case
where Sftp works but SSH shell access does not. Please file
a bug in bugzilla for that. We could think about a workaround
where the files that you want to copy are first downloaded,
then uploaded to the new place.

Cheers,
--
Martin Oberhuber, Senior Member of Technical Staff, Wind River
Target Management Project Lead, DSDP PMC Member
http://www.eclipse.org/dsdp/tm




Glen wrote:
> Hi,
>
> When I create an SSH-only connection and log in using an account which
> does not have shell access, I am able to navigate the file system and
> download/update files, but when I perform a copy operation from one
> directory to another within the server (as far as I know the account
> owns these directories), the progress dialog is displayed, etc., but the
> file is not copied, and I can't see any error message in my workspace
> log file.
>
> Why can I do some things and not others?
>
> Thanks,
>
> Glen.
>
> Eclipse 3.4 (Ganymede)
>
Re: Partial functionality using account without shell access? [message #576557 is a reply to message #25147] Wed, 06 August 2008 17:39 Go to previous message
Martin Oberhuber is currently offline Martin OberhuberFriend
Messages: 985
Registered: July 2009
Senior Member
Hi Glen,

The Sftp protocol standard which SSH uses for file transfer
does not support copying files remotely. Therefore, RSE
falls back to issuing an "cp -Rf" command via a shell
channel.

Apparently, error reporting is not appropriate for your case
where Sftp works but SSH shell access does not. Please file
a bug in bugzilla for that. We could think about a workaround
where the files that you want to copy are first downloaded,
then uploaded to the new place.

Cheers,
--
Martin Oberhuber, Senior Member of Technical Staff, Wind River
Target Management Project Lead, DSDP PMC Member
http://www.eclipse.org/dsdp/tm




Glen wrote:
> Hi,
>
> When I create an SSH-only connection and log in using an account which
> does not have shell access, I am able to navigate the file system and
> download/update files, but when I perform a copy operation from one
> directory to another within the server (as far as I know the account
> owns these directories), the progress dialog is displayed, etc., but the
> file is not copied, and I can't see any error message in my workspace
> log file.
>
> Why can I do some things and not others?
>
> Thanks,
>
> Glen.
>
> Eclipse 3.4 (Ganymede)
>
Previous Topic:FTP LIST -a command
Next Topic:RSE + SU
Goto Forum:
  


Current Time: Fri Nov 28 19:48:58 GMT 2014

Powered by FUDForum. Page generated in 0.01877 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software