- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Secure copy.
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
Forums
Discussions
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
11-13-2000 04:34 AM
11-13-2000 04:34 AM
Secure copy.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2000 04:36 AM
11-13-2000 04:36 AM
Re: Secure copy.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2000 04:37 AM
11-13-2000 04:37 AM
Re: Secure copy.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2000 05:14 AM
11-13-2000 05:14 AM
Re: Secure copy.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2000 05:18 AM
11-13-2000 05:18 AM
Re: Secure copy.
(is this a typo or correctly spelled?)
I'm not sure if you mean the scp command of the secure shell (ssh) when talking about secure copy.
If scp is meant then there are several ways to prevent scp from prompting you for a password.
1. use the ssh-keygen command
This will create a pair of private and public keys for your (client) host.
The public key will be appended to the file
${HOME}/.ssh/identity.pub
and the private key to
${HOME}/.ssh/identity
Remember that the identity file with the private key must be readable only to the account the key was created for.
When asked for passphrase just hit
After the key pair has been generated you may distribute the public key to all the hosts where you want to be granted automatic login.
This is done by appending it to the remote accounts' ${HOME}/.ssh/authorized_keys.
You can either distribute the public key using scp or if you want to be extra cautiously by carrying it on an extra medium (e.g floppy).
Afterwards you should be able to login without being prompted.
2. add account host pair in .shosts files of home dirs on remote hosts.
These files also have to be read only by their owners.
3. same as .shosts but use /etc/hosts.equiv
Just a word of caution.
You shouldn't do this with the root account as this may compromise your security.
But consult manpages for details.