Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve scpg command #9

Open
rvrignaud opened this issue Jan 3, 2011 · 2 comments
Open

Improve scpg command #9

rvrignaud opened this issue Jan 3, 2011 · 2 comments

Comments

@rvrignaud
Copy link

Hello,

It would be very nice to improve scpg command to allow file copy between two servers.

Any idea ?
Thx

@Tauop
Copy link
Owner

Tauop commented Jan 27, 2011

Hi Romain,

I already think about solutions to make it possible but I don't stop on a good solution :

  • download file on gate and then upload it on target
    • issue -> problem for really big file and filesystem space
  • generate a sshkey pair, put the private key on the source and public key on the destination, then make a scp directly from source to destination host.
    • issue -> security if a user which has access to source but not to destination can use generated key.
      • solution of this issue -> can be deal with it by locking access on source, but they is a race condition :-/ OR we can put a passphrase on the generated key and display this pass to the user doing the scpg

Maybe there are other solutions :-)

Regards

@Tauop
Copy link
Owner

Tauop commented Jan 27, 2011

BTW, For the second solution, what the source and destination state (towards generated ssh keys) if the transfert is interrupted ? by the client ? by network ?

Besides, What to do if "source" can't reach "destination" ??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants