Operating System - HP-UX
1833314 Members
2904 Online
110051 Solutions
New Discussion

Re: Steps to setup sftp of files from HP-UX server (remotehost) to HP-UX server (localhost)

 
Graham Van der vaart_1
Super Advisor

Steps to setup sftp of files from HP-UX server (remotehost) to HP-UX server (localhost)

Hi,

I just need the bare minimum steps to allow remoteserver to sftp a file to localserver using a non-interactive batch method:
I have create a user on localhost called FTPUSR for this purpose.
T1471AA is installed on both servers.

Kind Regards
Graham
3 REPLIES 3
Suraj K Sankari
Honored Contributor

Re: Steps to setup sftp of files from HP-UX server (remotehost) to HP-UX server (localhost)

Hi,

just give sftp servername at command prompt and put all your files same how you use ftp.
#sftp servername
>sftp


or you can use scp also insted of sftp
#scp filename username@hostname:/destination_path

Suraj
Graham Van der vaart_1
Super Advisor

Re: Steps to setup sftp of files from HP-UX server (remotehost) to HP-UX server (localhost)

Hi,
Sorry I wasn't very clear!
I need to know the steps for establishing the keys etc. Should the public key be distributed from the remotehost or the localhost?
Regards
Graham
Steven Schweda
Honored Contributor

Re: Steps to setup sftp of files from HP-UX server (remotehost) to HP-UX server (localhost)

A forum search for
SSH
should find any number of threads offering
step-by-step guides.