Operating System - HP-UX
1836551 Members
2033 Online
110102 Solutions
New Discussion

SFTP configuration procedure

 
Ashish Sharma
Occasional Contributor

SFTP configuration procedure

Trying to configure sftp on HP UX 11. the sftp is installed on HP.

The sftp client is on SUN solaris.

can somebody give me complete procedure after SSH has been installed. or atleast the source for it>>

Thanks,
Ashish.
1 REPLY 1
Noel Miranda
Frequent Advisor

Re: SFTP configuration procedure

sftp from sysa to sysb using user1
--------------------------------------------
a. Login to sysa as user1.

b. ssh-keygen -t rsa

c. Two files are generated.
1. id_rsa
2. id_rsa.pub

d. Transfer the file id_rsa.pub to sysb:/tmp

e. cat /tmp/id_rsa.pub >> /.ssh/authorized_keys
Create the .ssh directory and touch the file authorized_keys on sysb if necessary. Change permissions as on sysa.

g. Test connection by doing an sftp from sysa to sysb. The first time you may be prompted to retain the signature of the remote system. Just comfirm with an yes. It should take you to the sftp prompt.

f. If you need to communicate the other way i.e. sysb to sysa, then you need to do the same as above after swapping systems.