cancel
Showing results for 
Search instead for 
Did you mean: 

FTP passwd-less connection

 
SOLVED
Go to solution
Kavita Poonia
Regular Advisor

FTP passwd-less connection

Hello All,

I need to establish password-less FTP connection in HP-UX, so please lemme know the procedure & files to edit for the same.

Thanks & regards,
Kavita
5 REPLIES
EmmanuelK2
Advisor

Re: FTP passwd-less connection

Hello Kavita,
The resource at the URL below is a comprehensive, step-by-step guide to achieve your desire.

http://docs.hp.com/en/B2355-90110/ch02s08.html

Kind regards,

Emmanuel
Steven Schweda
Honored Contributor

Re: FTP passwd-less connection

> [...] password-less FTP connection in HP-UX
> [...]

Is that a connection from an HP-UX FTP client
to some (other?) FTP server, or a connection
from some (other?) FTP client to an HP-UX FTP
server, or what?

Other than anonymous FTP, I am unaware of any
general, password-less FTP method. Some FTP
client programs can use a ".netrc" file for
user name and password info, but it's such a
big security hole that even slightly
security-conscious users tend to avoid it
where it's available.

There are password-less SSH-based methods,
like, say, scp and SFTP.

As usual, it might help if you described the
actual problem which you are trying to solve,
rather than asking how to implement some
particular sub-ideal "solution" to it.

Also, "HP-UX" is not a very complete
description of anything, especially when
compared with actual output from, say:

uname -a
Kavita Poonia
Regular Advisor

Re: FTP passwd-less connection

Hello Steven,

Its from HP-UX FTP client to HP-UX FTP server.

$ uname -a
HP-UX atlhoc24 B.11.23 U ia64 2797321203 unlimited-user license
$


Also, I do not want to have any anonymous user. Its just I want for any normal userid, it should be password-less.

I think there a file which we need to edit but not sure.

Thanks & regards,
Kavita
Steven Schweda
Honored Contributor
Solution

Re: FTP passwd-less connection

> I think there a file which we need to edit
> but not sure.

man netrc
or:
man .netrc

But, as it says:

[...]
WARNINGS
It is a security risk to have unencrypted passwords in a file.
[...]

The SSH-based alternatives offer better
security. Honest.

man scp
man sftp

(Dozens of old threads cover the SSH set-up
procedures for them.)
Kavita Poonia
Regular Advisor

Re: FTP passwd-less connection

Thanks a lot Steven !!