General
cancel
Showing results for 
Search instead for 
Did you mean: 

Q: Is there a way to get/pull-back a file without using ftp/nfs?

SOLVED
Go to solution
Gino Castoldi_2
Honored Contributor

Q: Is there a way to get/pull-back a file without using ftp/nfs?

Hi,

Running HP-UX 11.0 with several Solaris/NT/Win2000 servers.

My question is this. Is there a way to get/retrieve a file from each server (running different platforms as listed above) and have that file sent to a central server/collection station(HP-UX 11.0 if possible) of some kind?

Thank you in advance.
Gino
11 REPLIES
Rita C Workman
Honored Contributor

Re: Q: Is there a way to get/pull-back a file without using ftp/nfs?

Have you tried using the rcp command???

/rcw
Gino Castoldi_2
Honored Contributor

Re: Q: Is there a way to get/pull-back a file without using ftp/nfs?

Hi,

Not a bad idea (from a UNIX point of view)except I need something that will work on
Windows (NT/Win2000) servers as well.
This can not (because of different platforms)
be a Unix only solution.

Also from a security point of view, "rcp" plus
all of the "r" commands are not the best way to go.

Thank you.
Gino
James R. Ferguson
Acclaimed Contributor

Re: Q: Is there a way to get/pull-back a file without using ftp/nfs?

Gino:

You could setup an FTP script on the server you wish to use as your "central" platform and 'get' the file(s) in question this way.

Here's a thread which discusses some different FTP script techniques:

http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0x82dff841489fd4118fef0090279cd0f9,00.html

...JRF...

Gino Castoldi_2
Honored Contributor

Re: Q: Is there a way to get/pull-back a file without using ftp/nfs?

Hi FOlks,

I guess what I am looking for is some kind of client/server solution rather than using FTP because of password/security issues.

I also posted this in the database forum by mistake, I should have posted in the HP-UX forum instead.

Thank you.
Gino
Ajitkumar Rane
Trusted Contributor
Solution

Re: Q: Is there a way to get/pull-back a file without using ftp/nfs?

Gino,

Are you looking out for a third party product?
I have used a product from EMC called Infomover.It is very easy to use and manage. I had used it to transfer files from the Mainframe to the HP Boxes.But I am not sure if it can be only used with EMC storage boxes. It works on client-server basis.

Amidsts difficulties lie opportunities
Vinit Adya
Frequent Advisor

Re: Q: Is there a way to get/pull-back a file without using ftp/nfs?

Hi,
There is a product by Sterling Commerce called Connect Direct (NDM). this product can do automated file transfers between all flavoures of Unix/ Windows NT/ OS390 (MVS)/ Open VMS etc. It uses a proxy to grant access so no passwords are exchanged for file transfers whic makes it even more secure.

Hope the info. helps.

Vinit Adya
Frequent Advisor

Re: Q: Is there a way to get/pull-back a file without using ftp/nfs?

Hi Ajitkumar,
I beleive infomover works only when the storage devices on both the systems are on EMC disk subsystems. Main advantage here is ths spped of file transfer wich goes at the SCSI (or FibreChannel) speed. It may not be used with systems which are using their own "Local" storage subsystems.
TrustNo1
Regular Advisor

Re: Q: Is there a way to get/pull-back a file without using ftp/nfs?

How about performing a rsh from the N/T box (allowed with .rhosts), The rsh could call the rcp, and wala' no passwords?
~jdk
Dare to Dream
Rita C Workman
Honored Contributor

Re: Q: Is there a way to get/pull-back a file without using ftp/nfs?

Well for one last thought than if your wanting to share files...have you considered CIFS/9000 or setting up something like SAMA on your UNIX boxes and that way you make them available to your Windows systems...

Like I said...just a thought,
Steven Sim Kok Leong
Honored Contributor

Re: Q: Is there a way to get/pull-back a file without using ftp/nfs?

Hi,

If you are concerned with security, then you should use SSH's (Secure Shell) Secure Copy (SCP) or Secure FTP (SFTP).

It's PKI technology makes use of RSA/DHA for its asymmetric cipher and DES3/IDEA etc for its symmetric cipher. The transfer is slower than a normal FTP but the benefit out of it is superb security. FTP as you are aware transfers information in cleartext including your userid and password.

You SCP or SFTP from your client to the SSHD server to either pull or push files encrypted across the network.

The free version of Secure Shell daemon (SSHD) runs on Unix/Linux while the commercial version of Secure Shell daemon (F-Secure SSH) runs on Win98/NT/2000.

The free version of the SSH client runs on both Win98/NT/2000/Unix/Linux. The commercial version of SSH client (F-Secure SSH) allows running on Mac. Both the SCP and SFTP clients come packaged with the SSH client except for the Mac.

Hope this helps. Regards.

Steven Sim
Brainbench MVP for Unix Admin
http://www.brainbench.com
Email: steven@beepz.com. Homepage: https://www.beepz.com
Steven Sim Kok Leong
Honored Contributor

Re: Q: Is there a way to get/pull-back a file without using ftp/nfs?

Hi,

I forgot to mention that if you want to automate the SCP transfer, you can simply update the SSHD server with the client userid's PUBLIC KEY in authorized_keys (for SSHD v1) or authorisation (for SSHD v2).

This would allow you to run a cron job that periodically pulls or pushes out files through your central HP-UX system.

Hope this helps. Regards.

Steven Sim
Brainbench MVP for Unix Admin
http://www.brainbench.com
Email: steven@beepz.com. Homepage: https://www.beepz.com