HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

i cannot access my hp-ux using FTP

 
JMS G
Advisor

i cannot access my hp-ux using FTP

plese help i tried to access my server using ftp so that i can transfer some files on my server i edit my /etc/inetd.conf here is my configuration ftp stream tcp6 nowait root /usr/lbin/ftpd ftpd -l -a -d.
13 REPLIES
SoorajCleris
Honored Contributor

Re: i cannot access my hp-ux using FTP

hi ,

I dont know about ,

-a -d doing here

and this is what my inetd.conf says
ftp stream tcp6 nowait root /usr/lbin/ftpd ftpd -l

and please check , /var/adm/inetd.sec
and ftpusers /etc/ftpd/ftpusers
man ftpusers for more info.

and check the port is enabled in /etc/servces


Regards,
Sooraj
"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity" - Dennis Ritchie
Michael Steele_2
Honored Contributor

Re: i cannot access my hp-ux using FTP

Gee

-I is write to syslog
-d is write debugging information to syslog

Have you checked syslog?

-a is Use ftp authentication

Question: What are you using for authentication?
Support Fatherhood - Stop Family Law
JMS G
Advisor

Re: i cannot access my hp-ux using FTP

how can i check my authentication
Michael Steele_2
Honored Contributor

Re: i cannot access my hp-ux using FTP

a) password and user id are forms of authentication and the bare minimum
b) source ip address / hostname and remoted or destination ip address / hostanem could be considered forms of authentication, especially with banks.
c) encryption from sftp, ( secure ftp ) includes the exchange of private and public keys.
d) passphrases used to open an encryped message are a 4th form of authentication.
Support Fatherhood - Stop Family Law
Michael Steele_2
Honored Contributor

Re: i cannot access my hp-ux using FTP

Additionally, substitute hostname for url as a form of authentication since most puble ftp transmissions are now to url's and not hostname. See 'curl' for example.

Additionally, you may have to go through a proxy server and will have to ask your network admin about this.
Support Fatherhood - Stop Family Law
JMS G
Advisor

Re: i cannot access my hp-ux using FTP

hi michael,

thank you, but i noticed on my /etc i don't have ftpd. and how can i configure my ftpacces
Michael Steele_2
Honored Contributor

Re: i cannot access my hp-ux using FTP

".. don't have ftpd..."

Well of course you.

Sigh.

How new to UNIX and computers are you?

Look, 'grep "*ftp*" /etc/services', post report.
Support Fatherhood - Stop Family Law
Michael Steele_2
Honored Contributor

Re: i cannot access my hp-ux using FTP

".. don't have ftpd..."

Well of course you do.

Sigh.

How new to UNIX and computers are you?

'grep "*ftp*" /etc/services', post report.
Support Fatherhood - Stop Family Law
JMS G
Advisor

Re: i cannot access my hp-ux using FTP

so where is the location of ftpd
Sri_kanth
Advisor

Re: i cannot access my hp-ux using FTP

Hi,

The ftpd location in HP-UX is in /etc/ftpd, there you can find ftpaccess file.
JMS G
Advisor

Re: i cannot access my hp-ux using FTP

hi michael,

i check everything that u said but still i cannot access my server using ftp.
# cat /var/adm/inetd.sec
ftp allow
telnet allow
tftp allow
login allow
shell allow
exec allow
ntalk allow
auth allow
printer allow
daytime allow
time allow
echo allow
discard allow
chargen allow
kshell allow
klogin allow
swat allow
recserv allow
hacl-probe allow
registrar allow
hacl-cfg allow

this is the output of etc/inetd.conf
ftp stream tcp6 nowait root /usr/lbin/ftpd ftpd -l

C:\Documents and Settings\user>ftp 10.10.15.140
Connected to 10.10.15.140.
Connection closed by remote host.

this is the problem.
Michael Steele_2
Honored Contributor

Re: i cannot access my hp-ux using FTP

What does this say?

"...ftp stream tcp6 nowait root /usr/lbin/ftpd ftpd -l..."

What is /usr/lbin/ftpd?

Read this:

http://docs.hp.com/en/B2355-91058/ch02.html
Support Fatherhood - Stop Family Law
Steven Schweda
Honored Contributor

Re: i cannot access my hp-ux using FTP

What, exactly, is "my server"?

uname -a

> [...]
> this is the problem.

It's nice (at long last) to get something
more informative than "i cannot access my
server".

> Have you checked syslog?

Well?

grep -i ftp /var/adm/syslog/syslog.log

If you see anything, then look more closely.

Any difference if you start with the FTP
client on the HP-UX system itself?

> C:\Documents and Settings\user>ftp 10.10.15.140

And 10.10.15.140 really is the right IP
address?