Sponsored Content
Operating Systems Linux Red Hat Sshd_config file issue, not able to login, need urgent help. Post 302967343 by saurau on Tuesday 23rd of February 2016 04:36:07 AM
Old 02-23-2016
Sshd_config file issue, not able to login, need urgent help.

Hello all,

By mistake i edited sshd_config file and made passwordauthentication no , Now i don't have key to login.
Is there any way, i can revert the changes, I am not able to login to the box at well.
Need help.

Thanks,
saurau
 

9 More Discussions You Might Find Interesting

1. UNIX and Linux Applications

Need Urgent help in this issue

Hi , In Unix, Is there is any difference between the environment path variable "path" and "PATH". When I set PATH I am unable to get binary but when I set path then the binary is visible what may be the issue ? Thanks in advance Bathri :confused: (1 Reply)
Discussion started by: bathri
1 Replies

2. UNIX for Advanced & Expert Users

Last login<urgent>

how to find last login time of a user in faster way if wtmps size is too large?? (6 Replies)
Discussion started by: vishwaraj
6 Replies

3. Linux

URGENT :- Linux remote access... issue

Hi ! I have a linux machine( stand lone) in my office network. now, I have application on that machine ( web based) I'm not able to access that box.. using http://abc:4435/console I'm able to ping that box.. and also connect via "ssh" Pls.... help.. Its a production issue... ... (2 Replies)
Discussion started by: dashok.83
2 Replies

4. Solaris

Urgent need help - issue sftp

hi experts, i have a problem with my sftp which install on sparc sun solaris os version 5.9, i have install this packages below on my server : libgcc-3.3-sol8-sparc-local openssl-0.9.8d-sol8-sparc-local zlib-1.2.3-sol8-sparc-local openssh-4.5p1-sol8-sparc-local and i... (2 Replies)
Discussion started by: bucci
2 Replies

5. Shell Programming and Scripting

urgent help needed in telnet issue

Hi, Whenever i am trying to telnet to server i am getting frequent error Authorized Login: prtsrc's Password: /dev/pts/171: Password read timed out -- possible noise on port when i am rerunning the same it is working fine thanks, sam (2 Replies)
Discussion started by: sam99
2 Replies

6. Red Hat

Help needed in fixing port issue - Urgent

Hi, One of our web application is running in Linux and using apache web servers. Application is hosted in port 4080 (for soap requests) and port 9999, and its serving behind a vip and cname. Initially it was working fine in another server and recently (2 months back) we have moved to the new... (4 Replies)
Discussion started by: senor.ram
4 Replies

7. Linux

Urgent :Automount issue

Hi Team, I am trying to delete the clearcase view in linux box. But i cant get, because my hostname is not configure under the at net directory in root dir. Please advice on this. Thanks, Mani (2 Replies)
Discussion started by: Mani_apr08
2 Replies

8. UNIX for Advanced & Expert Users

OEL 6.3 :Slow login due to /etc/ssh/sshd_config configuration

Version: Oracle Enterprise Linux 6.3 Running on VMWare Workstation When I login to my Linux VM from putty, the third line prompting for password comes only after few seconds. login as: root Access denied root@192.168.0.235's password: ---> It takes around 5 seconds to get this prompt I... (1 Reply)
Discussion started by: John K
1 Replies

9. Shell Programming and Scripting

URGENT Reading a file and assessing the syntax shell script URGENT

I am trying to write a shell script which takes an input file as an arguement in the terminal e.g. bash shellscriptname.sh input.txt. I would like for the file to be read line by line each time checking if the .txt file contains certain words or letters(validating the syntax). If the line being... (1 Reply)
Discussion started by: Gurdza32
1 Replies
CHSH(1) 							   User Commands							   CHSH(1)

NAME
chsh - change login shell SYNOPSIS
chsh [options] [LOGIN] DESCRIPTION
The chsh command changes the user login shell. This determines the name of the user's initial login command. A normal user may only change the login shell for her own account; the superuser may change the login shell for any account. OPTIONS
The options which apply to the chsh command are: -h, --help Display help message and exit. -R, --root CHROOT_DIR Apply changes in the CHROOT_DIR directory and use the configuration files from the CHROOT_DIR directory. -s, --shell SHELL The name of the user's new login shell. Setting this field to blank causes the system to select the default login shell. If the -s option is not selected, chsh operates in an interactive fashion, prompting the user with the current login shell. Enter the new value to change the shell, or leave the line blank to use the current one. The current shell is displayed between a pair of [ ] marks. NOTE
The only restriction placed on the login shell is that the command name must be listed in /etc/shells, unless the invoker is the superuser, and then any value may be added. An account with a restricted login shell may not change her login shell. For this reason, placing /bin/rsh in /etc/shells is discouraged since accidentally changing to a restricted shell would prevent the user from ever changing her login shell back to its original value. FILES
/etc/passwd User account information. /etc/shells List of valid login shells. /etc/login.defs Shadow password suite configuration. SEE ALSO
chfn(1), login.defs(5), passwd(5). shadow-utils 4.1.5.1 05/25/2012 CHSH(1)
All times are GMT -4. The time now is 11:04 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy