Operating System - HP-UX
1833578 Members
3480 Online
110061 Solutions
New Discussion

SSH Login aborting if asked for password

 
SOLVED
Go to solution
Maximilian Voss
Occasional Contributor

SSH Login aborting if asked for password

Hi guys,
I am working on a host scan tool which connects via SSH to several hosts and checks some data. I spread my SSH-Key all over the machines, but there are still some which doesn't care about my key and they're prompting for a password.
Well, this script, written in Perl, should run automatically. So I'd like to hang up the connection when there is a prompting for password. Has someone of you an idea how I can make it happen?
Thanks a lot
Best Regards

Max
3 REPLIES 3
Muthukumar_5
Honored Contributor
Solution

Re: SSH Login aborting if asked for password

Check this:

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=755141

hth.
Easy to suggest when don't know about the problem!
Maximilian Voss
Occasional Contributor

Re: SSH Login aborting if asked for password

thanks for your hint
Arunvijai_4
Honored Contributor

Re: SSH Login aborting if asked for password

Check this thread out, A good one for your need,
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=733436

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"