- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to automate secure FTP 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
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
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
тАО04-03-2005 08:41 AM
тАО04-03-2005 08:41 AM
How to automate secure FTP password
Does anyone have ideas on how to automate an SFTP login, so that I do not get prompted for a password. We are trying to script this SFTP transfer and it always stops at the prompt for the login password.
Thanks for any of your help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-03-2005 11:11 AM
тАО04-03-2005 11:11 AM
Re: How to automate secure FTP password
If you're public key has been put in the target's ~/.ssh/authorized_keys file, test it out with this syntax. If there is a problem, the verbose output should help with troubleshooting.
sftp -v -o preferredauthentications=publickey hotname
If you haven't setup a key, search the forums for "ssh authorized keys". There are plenty of threads out there to show you how to set it up.
hope this helps,
-denver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-03-2005 01:18 PM
тАО04-03-2005 01:18 PM
Re: How to automate secure FTP password
this is answer
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=840714
choose Perter solution
HTH
tienna
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-03-2005 06:01 PM
тАО04-03-2005 06:01 PM
Re: How to automate secure FTP password
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-06-2005 11:46 AM
тАО04-06-2005 11:46 AM
Re: How to automate secure FTP password
Can the problem be on the remote server side?? I am SFTP'ing from an HP-UX 11.i server to a Linux 2.6.9 server. Is this something that should work??
All your help has been appreciated.
I may try to test this HP to HP just to see if I can get it working.
What about the ssh_config file??? Can this be the source of the problem?
Thanks,
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-06-2005 04:16 PM
тАО04-06-2005 04:16 PM
Re: How to automate secure FTP password
Make sure that directory $HOME/.ssh and all files in it, on the Linux box, are not group/world writable.
Also check /etc/ssh/sshd_config on the Linux side (location of sshd_config could be different depending on your distribution) and make sure the following lines are set correctly.
PubkeyAuthentication yes
AuthorizedKeysFile .ssh/authorized_keys
Subsystem sftp /usr/libexec/openssh/sftp-server
If you modify sshd_config don't forget to restart sshd.