- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- executing commands using ssh protocol- message is ...
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
03-29-2006 03:18 AM
03-29-2006 03:18 AM
executing commands using ssh protocol- message is coming
Following message is coming when i am going to login a device using ssh protocol .
It is coming first time only .
Message ::
The authenticity of host '192.*.*.* (192.*.*.*)' can't be established.
RSA key fingerprint is 14:15:0f:e1:1b:8d:d6:ed:5b:cd:f5:30:1f:a2:49:c2.
Are you sure you want to continue connecting (yes/no)?
Through my program i am not able to provide "yes" or "no"- (i am working on .net platform)
Problem:
How to get rid of this message .
If it is possible to ignore this message then plz let me know the same .
regards,
manoj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2006 03:25 AM
03-29-2006 03:25 AM
Re: executing commands using ssh protocol- message is coming
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2006 03:26 AM
03-29-2006 03:26 AM
Re: executing commands using ssh protocol- message is coming
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2006 03:45 AM
03-29-2006 03:45 AM
Re: executing commands using ssh protocol- message is coming
Thanks for a quick response .
First of all i want to tell you that i have to do everything using a .Net(c#) program- i can't enter "yes" manually .
Copying public keys to the known_hosts file is enough or not - i m not sure about that- .
Can't we ignore or bypass this message .
regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2006 04:25 AM
03-29-2006 04:25 AM
Re: executing commands using ssh protocol- message is coming
You only have to acknowledge that message the FIRST time you connect to a machine. After that it will not show up again.
I think you must find some way to initially connect via ssh from a command line so you can respond yes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2006 05:36 AM
03-29-2006 05:36 AM
Re: executing commands using ssh protocol- message is coming
You can't ignore or bypass this message, however you can provide an automated response by using an expect wrapper script. You can get expect from...http://expect.nist.gov/
cheers!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2006 08:15 AM
03-29-2006 08:15 AM
Re: executing commands using ssh protocol- message is coming
ssh-keyscan is a utility for gathering the public ssh host keys of a
number of hosts. It was designed to aid in building and verifying
ssh_known_hosts files. ssh-keyscan provides a minimal interface
suitable for use by shell and perl scripts.
ssh-keyscan uses non-blocking socket I/O to contact as many hosts as
possible in parallel, so it is very efficient. The keys from a domain
of 1,000 hosts can be collected in tens of seconds, even when some of
those hosts are down or do not run ssh. For scanning, one does not
need login access to the machines that are being scanned, nor does the
scanning process involve any encryption.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2006 08:18 AM
03-29-2006 08:18 AM
Re: executing commands using ssh protocol- message is coming
Good Luck!
--Greg
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2006 09:00 AM
03-29-2006 09:00 AM
Re: executing commands using ssh protocol- message is coming
You can put the following in your local
ssh client config file.
echo "StrictHostKeyChecking no" >> {HOME}/.ssh/config
Or you can also add this to /etc/ssh/ssh_config .
Also see man ssh_config and look after
StrictHostKeyChecking.
Rgds.
S.