- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Secure shell question.
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
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
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
11-06-2002 09:03 AM
11-06-2002 09:03 AM
I noticed there was an scp command which could replace rcp, which we use on our old systems but I will not allow on the new ones I'm getting ready to roll out.
I have .shosts set up valid on both servers, assuming the syntax is the same as .rhosts.
My question...
A command line script that will allow an automated job to use scp to copy a file between sytems and not prompt for a password. I think the basic premise might be impossible based on secure shell's reason for existance, but I'd like to here it from someone who has used it for more than 2 months.
Thanks.
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2002 09:13 AM
11-06-2002 09:13 AM
SolutionIf you are using OpenSSH from HP, look at the Release Notes for HP-UX Secure Shell A.03.10.002
http://docs.hp.com/hpux/onlinedocs/T1471-90003/T1471-90003.html
(yes, I am using it for more than 2 months!)
...Manjeet
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2002 09:13 AM
11-06-2002 09:13 AM
Re: Secure shell question.
You da man.
Thanks.
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
11-06-2002 09:16 AM
11-06-2002 09:16 AM
Re: Secure shell question.
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
11-06-2002 12:02 PM
11-06-2002 12:02 PM
Re: Secure shell question.
#!/bin/ksh
source_host=systemA
source_dir='/var/adm/syslog'
source_file='syslog.log'
target_host=systemB
target_dir='/tmp'
target_file='syslog_of_systemA.log'
# Assuming ssh is installed and public keys are exchanged with null passphrases
scp ${source_dir}/${source_file} ${target_host}:${target_dir}/${target_file}
exit 0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2002 12:06 PM
11-06-2002 12:06 PM
Re: Secure shell question.
Here are some FAQ's for SSH
http://www4.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000062683639#Q12
HTH
Steve