- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- FTP without asking for password
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
тАО06-18-2004 12:39 AM
тАО06-18-2004 12:39 AM
My network security administrator do not allow rcp , is there any way to use FTP between the two unix server (HP UX 11i) without prompting for a password.
Thanks in advance
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-18-2004 12:42 AM
тАО06-18-2004 12:42 AM
Re: FTP without asking for password
You can use secure shell however. It has a function like rcp called scp. Except its secure.
http://software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=T1471AA
Then exchange public keys and you are done.
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
тАО06-18-2004 12:43 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-18-2004 01:41 AM
тАО06-18-2004 01:41 AM
Re: FTP without asking for password
Hi,
u can create a .netrc in your $HOME.
Check 'man .netrc'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-18-2004 01:48 AM
тАО06-18-2004 01:48 AM
Re: FTP without asking for password
man netrc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-18-2004 01:50 AM
тАО06-18-2004 01:50 AM
Re: FTP without asking for password
In these type of situations, I would vote for using Secure shell. It has utilities to replace rsh, rcp, telnet, ftp etc. in secure (read encrypted) way.
Setup SSh to use key based authentication so that there is no clear text passwrod going across the netowrk which would make your systems very vulnerable to network sniffing attacks.
regds,
Abdul.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-18-2004 01:54 AM
тАО06-18-2004 01:54 AM
Re: FTP without asking for password
The reason that methodology never comes to mind is that its a security problem.
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
тАО06-18-2004 05:46 PM
тАО06-18-2004 05:46 PM
Re: FTP without asking for password
You can use the $HOME/.netrc file to do this.Create the file on home directory as
#-------- .netrc ---------
machine
Create the file to allow the users in both servers.
You can do with scripting too as like
# script
machine=$1
file=$2
if [[ $# -ne 2 ]]; then
echo " Usage:
exit 1
fi
ftp -i -n machine <<-EOF 2>/dev/null
!ksh $file
EOF
Use the script on both side. You can use the commands lists in a file as,
#cat /tmp/ftpcmd.ksh
user username password
pwd
ls
cd /dir1/dir2
bye
You can add this script to /usr/bin/ to be used for ever in all machines.
Regards,
Muthukumar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-20-2004 05:17 PM
тАО06-20-2004 05:17 PM
Re: FTP without asking for password
You can try this script, I have tested this successfully,
ftp -i -n -v "Serevr Address: << EOF
user "user name" "password"
put "file name"
bye
EOF
Best of Luck
Sandeep
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-20-2004 05:17 PM
тАО06-20-2004 05:17 PM
Re: FTP without asking for password
You can try this script, I have tested this successfully,
ftp -i -n -v "Server Address: << EOF
user "user name" "password"
put "file name"
bye
EOF
Best of Luck
Sandeep
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-21-2004 02:06 AM
тАО06-21-2004 02:06 AM
Re: FTP without asking for password
Use secure shell for logins and scp for transfers.