scp library
From: Hari S (catchhs_at_yahoo.com)
Date: 12/08/04
- Previous message: Melanie.Berg_at_bafin.de: "Problem with scp"
- Next in thread: Alexander Klimov: "Re: scp library"
- Reply: Alexander Klimov: "Re: scp library"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Tue, 7 Dec 2004 15:49:55 -0800 (PST) To: secureshell@securityfocus.com
Hello,
I've some doubts regarding the scp
protocol/implementation, which I thought I should get
clarified. I'm trying to develop a scp client library
using the openssh, with the following requirements /
features.
- client side library for scp
- no password invokation (API for providing password
to the lib)
- no control over the scp/ssh server
- localhost to remotehost functionality (at the
minimum)
- openssh doesnt provide a library/API for scp.
I though I should make sure what I understand from the
scp.c (I couldnt find any good docs for scp :-)) is
true. For copy from localhost tpo remotehost,
- "scp file user@server:" at the client
- client tries to establish "ssh" with the server
- local "ssh" client asks the user for passwd
- "ssh" session is established
- "scp -t file user@server" is executed at the server
end.
- both the scps' cooperate together to transfer the
file (using the same ssh session)
Now,
a. Can I eliminate the password invocation in my
library? (I believe the local ssh client asks for the
passwd. So, do I need any tweaks in the "ssh" client
code as well)?
b. I wouldnt have any control over the "scp" program
running at the server end. Will this have any effect n
my library?
c. Are there any other things I should know before
staring off with the lib?
Thanks for any help,
Hari
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
- Previous message: Melanie.Berg_at_bafin.de: "Problem with scp"
- Next in thread: Alexander Klimov: "Re: scp library"
- Reply: Alexander Klimov: "Re: scp library"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|