Operating System - HP-UX
1837260 Members
2319 Online
110115 Solutions
New Discussion

Re: Automated file transfer UNIX <--> Windows

 
SOLVED
Go to solution
Mad_1
Regular Advisor

Automated file transfer UNIX <--> Windows

I use FTP to automated transfer files back and forth between UNIX <--> Windows servers. Cron jobs (scripts) with login name and password hardcoded are scheduled everyday.

As there will be new policy that password must be periodically changed. It is difficult to maintain those hardcoded scripts.

Is there any file transfer solution like "rcp" which login is not required but security can still maintain?

Thanks
8 REPLIES 8
Con O'Kelly
Honored Contributor
Solution

Re: Automated file transfer UNIX <--> Windows

Hi

Look at using SSH. You can setup scp or sftp with public key authentication. This will allow you automat transfers without passwords and is far more secure than rcp or ftp.

Cheers
Con
generic_1
Respected Contributor

Re: Automated file transfer UNIX <--> Windows

Use scp with Keys setup and a null passphrase.
Mad_1
Regular Advisor

Re: Automated file transfer UNIX <--> Windows

Is there any setup in Windows server side to enable the SSH and scp?
Sergejs Svitnevs
Honored Contributor

Re: Automated file transfer UNIX <--> Windows

http://www.samba.org/
Samba helps Windows and Unix computers coexist in the same network and supports different security modes.

Regards,
Sergejs
Sergejs Svitnevs
Honored Contributor

Re: Automated file transfer UNIX <--> Windows

get Samba (or HP CIFS) for your UNIX box. This will allow you to create a share on your UNIX box, that can be mounted by Windows. Then just copy files.
Alan Meyer_4
Respected Contributor

Re: Automated file transfer UNIX <--> Windows

Yes, you can configure windows machines to accept remote shell(rsh) type commands. I believe that the necessary files are in the resource kits.
" I may not be certified, but I am certifiable... "
Mad_1
Regular Advisor

Re: Automated file transfer UNIX <--> Windows

For the Samba (or HP CIFS), if significant number of files transfer are required, does the CIFS server requires certain amount of disk storage?

For the rsh, there should be a .rhosts file for the remote shell setting. Where should this .rhosts file store in the Windows server?

Alan Meyer_4
Respected Contributor

Re: Automated file transfer UNIX <--> Windows

As per Microsoft Technet page
http://www.microsoft.com/technet/archive/winntas/support/sur_util.mspx

The .rhosts file must be in the user's home directory on the remote computer.

-a
" I may not be certified, but I am certifiable... "