LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-19-2006, 11:41 PM   #1
Pengus
LQ Newbie
 
Registered: Oct 2004
Posts: 19

Rep: Reputation: 0
Cannot ssh to debian box from Gentoo box or Putty, but I can from Cygwin?


So I just setup a filedump running Debian Sarge 3.1 stable. I put up ssh, tested it from a few machines and it worked fine.

Then I disabled password authentication as I have a public RSA key that I use for servers that I have access to. It's used at school and for a couple of boxes at home as well. Never had any problems with it.

However, I always get this message:
Permission denied (publickey,keyboard-interactive).

It happens on my gentoo workstation as well as when I tried it from my Windows laptop with Putty. I can't enter the passphrase or anything.

Strangely enough, the same pair is setup with Cygwin under my Windows laptop, and it worked!

Why some and not the others? Any suggestions?
 
Old 01-20-2006, 07:33 AM   #2
Pengus
LQ Newbie
 
Registered: Oct 2004
Posts: 19

Original Poster
Rep: Reputation: 0
Anyone?
 
Old 01-20-2006, 01:47 PM   #3
jonlake
Member
 
Registered: Apr 2004
Distribution: Slackware 11.0, Gentoo
Posts: 252

Rep: Reputation: 31
Make sure that the client's private key is permission x00 so no one else can read it. This is something that took me forever to figure out. SSH will not allow you to use key authentication (at least in my setup) when your private key file was readable by anyone but you. I would suggest 400 as once you create your private key, you really don't need or want any changes made to it.

Also do an ssh -v or -vv for verbose output.
 
  


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
Understanding SSH (Sun box to Linux box) oswald21 Linux - Newbie 2 07-08-2006 03:06 PM
Cannot see my Win XP SP2 box with shared printer from my SUSE Pro 9.3 box thorlin Linux - Networking 3 09-11-2005 02:16 PM
cannot SFTP to SUSE 9.2 box, port 22 open, can putty in though using same port. jgrady Linux - Networking 6 03-29-2005 09:44 AM
XP Box won't connect to internet thru RH9 Box (firewall/dhcpd), it can only ping fire Rhapsodic Linux - Networking 4 07-10-2004 04:02 PM
Linux box calling a batch script on a windows box to run? Is it possible? joelhop Programming 8 05-17-2004 05:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:20 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration