LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-06-2013, 05:39 PM   #1
lpallard
Senior Member
 
Registered: Nov 2008
Posts: 1,045

Rep: Reputation: Disabled
SSH on Slack64-13.1 no longer works - Wrong password?


So my slack64-13.1 box has been working fine until I upgraded packages with

slackpkg upgrade-all


Now I can no longer log thru SSH. Not working for root or standard user.

I get

Code:
bash-4.1$ ssh 192.168.0.107
lpallard@192.168.0.107's password: 
Permission denied, please try again.
lpallard@192.168.0.107's password: 
Permission denied, please try again.
lpallard@192.168.0.107's password: 
Permission denied (publickey,password,keyboard-interactive).
Code:
bash-4.1$ ssh root@192.168.0.107
root@192.168.0.107's password: 
Permission denied, please try again.
root@192.168.0.107's password: 
Permission denied, please try again.
root@192.168.0.107's password: 
Permission denied (publickey,password,keyboard-interactive).
How can I reset the password ????
 
Old 07-06-2013, 06:11 PM   #2
lukkon
LQ Newbie
 
Registered: Dec 2011
Distribution: Slackware/Debian
Posts: 27

Rep: Reputation: Disabled
I think it's not possible to reset password through ssh, you should login to this machine locally and then run ssh in debug mode
Code:
/usr/sbin/sshd -d
try to connect and read debug messages or if you just forget password you can boot slackware installation disk, chroot into your system on harddrive and then use passwd command to change password.
 
Old 07-06-2013, 08:47 PM   #3
WhiteWolf1776
Member
 
Registered: Oct 2010
Location: Bowling Green, KY
Distribution: Slackware
Posts: 288

Rep: Reputation: 95
If you are sure that's the right ip address... and you don't have any valid username / password pairs... there isn't a way to "reset" the password remotely. (there is a chance your /etc/rc.d/rc.sshd may have had it's +x removed ... somehow)

I'd double check that the ip address is what you think it is... upgrading packages have not changed passwords imho.
 
Old 07-06-2013, 09:45 PM   #4
Gerard Lally
Senior Member
 
Registered: Sep 2009
Location: Leinster, IE
Distribution: Slackware, NetBSD
Posts: 2,177

Rep: Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761
Quote:
Originally Posted by lpallard View Post
So my slack64-13.1 box has been working fine until I upgraded packages with

slackpkg upgrade-all

Now I can no longer log thru SSH. Not working for root or standard user.
Two things spring to mind:

1) You inadvertently updated /etc/ssh/sshd_config, thus resetting authentication parameters for which you had custom settings in the older version.

2) Your memory is failing with old age, and you were using a public/private key pair, not a password, to log in.

 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ssh no longer works after upgrade from ubuntu 10.10 server to 11.04 lilmike Ubuntu 11 09-08-2011 08:33 PM
[SOLVED] Password-less SSH only works on 1 of 2 machines? IanVaughan Linux - Server 7 06-23-2010 05:01 AM
No longer able to log into ssh. Password right but "permission denied" Baix Linux - Software 11 11-21-2008 12:44 PM
root password no longer works when loggesd in as user drkstr Slackware 4 07-22-2006 03:20 AM
sftp no longer works, but ssh still does. muxman Linux - Software 0 05-19-2004 06:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration