1753877 Members
7552 Online
108809 Solutions
New Discussion юеВ

Copy file

 
ivy1234
Frequent Advisor

Copy file

The user client side use windows XP , the server is unix box . We would like to remote copy files between server and client ( both direction ) , I tried to use rcp , but it will ask to input password when transferring , can advise is there any simple command /tools can be used to transfer files with no need to input password ? thx
6 REPLIES 6
rariasn
Honored Contributor

Re: Copy file

Laurent Menase
Honored Contributor

Re: Copy file

scp with preshared key,
you can use putty as client application
rariasn
Honored Contributor

Re: Copy file

Hi:

winscp command-line options

http://winscp.net/eng/docs/commandline

rgs

Danny Petterson - DK
Trusted Contributor

Re: Copy file

Hi!

You could use this How2:

http://www.howtoforge.com/ssh_key_based_logins_putty

....then use puttys version of scp (pscp) for the copy.

Greetings
Danny
Steven Schweda
Honored Contributor

Re: Copy file

> [...] unix box [...]

Not a very precise description of anything.

uname -a

> [...] copy files between server and client
> ( both direction ) [...]

Do you want to run the copy command on the
Windows system, or on the "unix box", or
both, or what?

> [...] I tried to use rcp [...]

Did you try to read the documentation?

man rcp
man rhosts

If you want corresponding info about the
Windows side, you might do better elsewhere.

> [...] scp [...]

Or that. But you may need to read some
things to get that to work, too.
GPissutto
Frequent Advisor

Re: Copy file

As you say that you need a both directions flow, may be you should consider using SAMBA.