LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 08-07-2004, 11:46 AM   #1
pH*
Member
 
Registered: Nov 2003
Distribution: Slackware 10
Posts: 40

Rep: Reputation: 15
ssh issues since upgrade to Slack v10


Forwarding port 22 to my box. A friend of mine can successfully log on to his account on my system via ssh (he's also using slack 10)... I can ssh out to my school's system successfully, and also ssh into my own system like so "ssh localhost"...

What I've been unable to do since upgrading is to ssh back into my box after having ssh'd out of it... ssh out to school computer then ssh back in to mine to verify everything's working.

The error I receive (and this is only me, not my friend who ssh's in with no problem), is:

Permission denied (publickey,password,keyboard-interactive).

The verbose attempts I've made appear to show all authentication methods being used, except for the last... i'd like to ssh in using just password prompting, but the above error appears before I'm prompted for a password at all.

I've found little help related to this on the web, most of it ending in the user reinstalling ssh, and I'd like not to do that if I don't have to.

Any ideas?
 
Old 08-07-2004, 11:57 AM   #2
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 244Reputation: 244Reputation: 244
Did you try to move your ~/.ssh directory to say ~/.ssh.back ?
 
Old 08-07-2004, 12:31 PM   #3
pH*
Member
 
Registered: Nov 2003
Distribution: Slackware 10
Posts: 40

Original Poster
Rep: Reputation: 15
Removing ~/.ssh/ has no effect... have tried that, but just retried to be sure.

/etc/sshd_config seems to be a confusing file also... I've uncommented the line reading

PrintMotd

and changed the value to no to get rid of the motd when ssh'ing in (currently still only able to ssh in via "ssh localhost"), and I've tried both stopping and starting AND rebooting the entire system to get the configuration to change, yet it's still there...

Very annoying... is there some more esoteric manner in which to change the configurations, or am I just misunderstanding the simplicity of all this?
 
Old 08-07-2004, 01:28 PM   #4
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 244Reputation: 244Reputation: 244
When I see "Permission denied (publickey,password,keyboard-interactive)." I would think that something come wrong with the public key. And where are the public keys ? On both the ~/.ssh directories of the server and the client.

On the client : public key file is generally : ~/.ssh/id_rsa.pub
On the server : public key file is generally : ~/.ssh/authorized_keys2

The public key file of the server may not contains just one public key, that depends what you did with public keys (it can have more than one client publlic key into it).

So for my part I would try to play with the public keys on both sides, client and server.
 
Old 02-25-2005, 03:22 PM   #5
edafe
Member
 
Registered: Feb 2005
Posts: 44

Rep: Reputation: 15
Step-by-step instructions on how to use public key authentication with SSH:

http://www.edafe.org/slackware/index...authentication

Regards,
Edafe
 
  


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
Upgrade troubel slack 10.1 to slack 10.2 delta function Slackware 3 10-20-2005 12:47 AM
Partial System Breaks Down after upgrade to v10.1 Manuel-H Slackware 1 03-09-2005 06:32 PM
What first upgrade kernel or upgrade slack 10.0 to current Kelean Slackware 7 01-16-2005 07:54 PM
SSH Upgrade help manya Linux - Security 3 06-04-2004 09:38 AM
ssh issues cuss Linux - Security 9 12-19-2002 12:52 PM

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

All times are GMT -5. The time now is 06:41 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