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
12-27-2001 02:53 PM
12-27-2001 02:53 PM
scp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2001 04:59 AM
12-28-2001 04:59 AM
Re: scp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2001 05:02 AM
12-28-2001 05:02 AM
Re: scp
if host connect A Y B
the know_host of host A contains
hostB,ip and password encryp generated whith ssh-keygen or ssh_host_key and copy and paste the contains of identity.pub
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2001 12:51 PM
12-28-2001 12:51 PM
Re: scp
In my experience, ssh / scp only asks you if you want to add the host to the known hosts until you answer yes. Once it's a known host, ssh will not bother you again for that host.
Darrell
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2001 02:39 PM
12-28-2001 02:39 PM
Re: scp
The way around this is to add the hosts to the global know_hosts2 file (specified in ssh.config), and have that file checked first before the user's own files. Thus once root has accepted a particular host, everyone will recognize that host as being ok, and the question won't be asked again.
Hope this helps!
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-01-2002 06:20 AM
01-01-2002 06:20 AM
Re: scp
has out /etc/hosts and add them to the known_hosts2 file. Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2002 03:59 PM
01-02-2002 03:59 PM
Re: scp
host.somedomain.com,xxx.xxx.xxx.xxx ssh-rsa 5AAAB3NzaC1yc2EAAAABIwAAAIEAosJtIznGMOqLA/TU89f3q+7YbIPg4ohl4TbWuhY9fn5PQMDksZsypf5D9FyqFKIUnSxFMRY8wAI0S6t/h2Ur8aSh/RcPe4MIVAuIs5wad4DSL3Xz7arW1GMJNt3yTOnt8NntSLb/XEjguN1FtdxA2L84l/5M07v4cqcfKFaVUE0=
If you set up the keys for all the hosts yourself, then you should have the host keys available. copy the info in the format listed above into a known_hosts2 file (either one for each user who will be using ssh, or to the system default known_hosts2 file) and it should work.
As to how to automate this -- I suppose if you generated all the keys on one server, you could just copy all the ssh_host_xxx_key.pub (where xxx is either rsa or dsa as appropriate) files into one known_hosts2 file, and then edit to include the hostname and ip.