- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to configue FTP on HP-UX server
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-21-2009 05:27 AM
тАО05-21-2009 05:27 AM
How to configue FTP on HP-UX server
Hi, Quick question, Can anyone tell me how to enbale FTP on a HP-UX server, so that I can ftp to it from another server ?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-21-2009 05:32 AM
тАО05-21-2009 05:32 AM
Re: How to configue FTP on HP-UX server
find the line which starts with "ftp" most probably preceded by a # sign if it is not currently running on this system. Remove the # sign.
restart inetd by
/usr/sbin/inetd -k
/usr/sbin/inetd -l (-l is not mandatory but gives you a good bit of information on inetd activities in syslog so strongly suggested)
that should do it.
if you do not have an ftp line, then insert something like this into /etc/inetd.conf file:
ftp stream tcp nowait root /usr/lbin/ftpd ftpd -Lliou 007
the do the inetd restart as described above.
Hope this helps
PS. Look into scp instead of using ftp. It is secure and easily scriptable
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-21-2009 05:33 AM
тАО05-21-2009 05:33 AM
Re: How to configue FTP on HP-UX server
ftp is normally configured by default.
To check it:
netstat -an | grep 21
Check /etc/inetd.conf for configuration of the ftpd daemon.
If commented, uncomment and:
inetd -c
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-21-2009 05:36 AM
тАО05-21-2009 05:36 AM
Re: How to configue FTP on HP-UX server
The first step is to make sure the 'ftp' daemon is un-commented in '/etc/inted.conf' If it isn't, do so, and restart the inetd daemon with 'inetd -c'.
Much more can be found here:
http://docs.hp.com/en/5992-4607/ch05s02.html
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-22-2009 03:03 AM
тАО05-22-2009 03:03 AM
Re: How to configue FTP on HP-UX server
Here is the steps,
1)uncomment or create the ftp entry in /etc/inetd.conf
2)let inetd to reload the changes by inetd -c
3)create an ftpuser's shell entry in the /etc/SHELLS
4)remove the ftpuser id from /etc/ftpd/ftpusers
Thanks!!
Johnson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-22-2009 03:23 AM
тАО05-22-2009 03:23 AM
Re: How to configue FTP on HP-UX server
Un-Comment ftp line from /etc/inetd.conf and run "inetd -c" test by trying to ftp to the host.
ftp stream tcp nowait root /usr/lbin/ftpd ftpd -l
User name is not reflect in this file /etc/ftpd/ftpusers
If /var/adm/inetd.sec file is there then add your ipaddress showing below
ftp allow 15.* 127.0.0.1 192.170.74.* 192.170.84.*
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-22-2009 08:45 PM
тАО05-22-2009 08:45 PM
Re: How to configue FTP on HP-UX server
Check below link as follows,
http://docs.hp.com/en/B2355-90743/ch03s01.html
http://docs.hp.com/en/5992-4616/ch03s03.html
http://docs.hp.com/en/B9901-90044/ch11s03.html
http://docs.hp.com/en/A1700-90014/ch06s03.html
RGds//
Taifur
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-23-2009 02:05 AM
тАО05-23-2009 02:05 AM
Re: How to configue FTP on HP-UX server
1. Issue the following command to establish a connection with the remote host:
ftp remote_host_name or remote_IP_address
2. Type your user name when prompted for it by the remote host. If you do not have an account on the remote host, type anonymous or ftp as the user name to get access to the anonymous ftp directory. Anonymous ftp allows you access only to the directory that is set up for anonymous ftp.
3. Type your password when prompted for it by the remote host. If you are logging in as anonymous, type your user name and local host name as the password:
user_name@local_host_name
Note that if you are using the Secure Internet Services version of ftp you will not be prompted for a password.
4. Set the transfer type, if necessary. The binary type may be used to transfer all types of files. To find out the current transfer type, type status at the ftp> prompt. To set the transfer type to binary, type binary at the ftp> prompt.
5. You can perform directory operations on the remote host, by issuing commands like pwd, cd, and ls. For a list of ftp commands, type ? at the ftp> prompt. For help on a specific command, type ? command at the ftp> prompt.
6. To perform directory operations and other shell commands on the local host, put an exclamation point before the command, for example, !ls.
At the ftp> prompt, use the put or get command to transfer files between the local and remote systems:
ftp> put filename [destination_filename]
ftp> get filename [destination_filename]
The put command transfers a file from the local host to the remote host. The get command transfers a file from the remote host to the local host. If you do not specify a destination_filename, the copy of the file will have the same name as the original.
7. To exit from ftp and return to the HP-UX prompt on your local host, type quit at the ftp> prompt.
Rgds-Kranti