nixCraft Linux Forum

nixCraft

Linux Tech Support Forum

Linux / UNIX set increase the number of failed login retries with SSH client

This is a discussion on Linux / UNIX set increase the number of failed login retries with SSH client within the Getting started tutorials forums, part of the Linux Getting Started category; For a SSH client connecting to the SSH server, three (3) is the default number of failed login retries. However, ...


Go Back   nixCraft Linux Forum > Linux Getting Started > Getting started tutorials

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 06-12-2007, 02:35 AM
sweta's Avatar
Contributors
User
 
Join Date: Feb 2005
Location: New Delhi
My distro: Suse, RHEL, Vista
Posts: 151
Rep Power: 4
sweta will become famous soon enough
Default Linux / UNIX set increase the number of failed login retries with SSH client

For a SSH client connecting to the SSH server, three (3) is the default number of failed login retries. However, this can be modified by configuring the /etc/ssh/ssh_config file from the SSH client system and using the NumberOfPasswordPrompts directive.

It specifies the number of password prompts before giving up. The argument to this keyword must be an integer.
Code:
vi /etc/ssh/ssh_config
Set NumberOfPasswordPrompts to 6 attempts
Code:
NumberOfPasswordPrompts 6
After editing the config file, restart the sshd of the SSH client:
Code:
/etc/init.d/sshd restart
__________________
Friends - v-nessa - missyAdmin
Reply With Quote
Sponsored Links
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
SSH - Passing Unix login passwords through shell scripts arulkumarr Shell scripting 4 08-27-2008 09:22 PM
Display number of processors on linux tom Getting started tutorials 7 08-12-2008 10:51 AM
Failed SSH login attempts and how to avoid brute ssh attacks rockdalinux Networking, Firewalls and Security 16 12-12-2007 02:46 AM
UNIX Display or list number of files in a current directory raj Getting started tutorials 1 12-07-2007 10:55 AM
Any SSH client which can store 100's of login profile? deltamails Linux software 14 09-24-2007 03:13 PM


All times are GMT +5.5. The time now is 10:56 PM.


Powered by vBulletin® Version 3.7.3 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36