Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to remove password authentication on a Unix server.

Status
Not open for further replies.

Daral

MIS
Oct 30, 2012
1
US
Iam seeing this issue "SSHAuthenticationError Login timed out. The input stream currently has the contents bellow: mpire@10.81.52.158's password: at /usr/local/share/perl/5.10.1/Expect.pm line 828" and just saw a post saying that "just remove the password authentication" then it works fine. Could you please help me on how to remove it. Thanks.
Daral,
 
You want to open the server to attack? Is SSHAuthentication enabled?

Paul
------------------------------------
Spend an hour a week on CPAN, helps cure all known programming ailments ;-)
 
Ummm... Don't.

'hope this helps

If you are new to Tek-Tips, please use descriptive titles, check the FAQs, and beware the evil typo.
 
[tt]I believe you will want to keep the authentication, otherwise you're system is wide open.

Can you login manually from the CLI? Or is the same error appearing? If you can login manually the problem is most likely the script.
If the problem occurs during a manual (CLI) login attempt then if you are able, try again but include a couple of '-vv' switches to you ssh command.
Code:
ssh -vv the_system
. That is the letter 'v' verbose. The more 'v's the more output. This is not going to fix it but it will produce output that you can capture for review.[/tt]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top