LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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, 06:39 PM   #1
lpallard
Member
 
Registered: Nov 2008
Location: Milky Way
Distribution: Slackware (various releases)
Posts: 970

Rep: Reputation: 44
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, 07: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, 09:47 PM   #3
WhiteWolf1776
Member
 
Registered: Oct 2010
Location: Pittsburgh, PA
Distribution: Slackware
Posts: 230

Rep: Reputation: 55
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, 10:45 PM   #4
gezley
Member
 
Registered: Sep 2009
Location: Ireland
Distribution: Slackware-64, Crux-64, NetBSD-64
Posts: 557

Rep: Reputation: 270Reputation: 270Reputation: 270
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 09:33 PM
[SOLVED] Password-less SSH only works on 1 of 2 machines? IanVaughan Linux - Server 7 06-23-2010 06:01 AM
No longer able to log into ssh. Password right but "permission denied" Baix Linux - Software 11 11-21-2008 01:44 PM
root password no longer works when loggesd in as user drkstr Slackware 4 07-22-2006 04:20 AM
sftp no longer works, but ssh still does. muxman Linux - Software 0 05-19-2004 07:09 AM


All times are GMT -5. The time now is 07:33 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration