LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-07-2011, 12:42 PM   #1
GrateWhiteSmurf
LQ Newbie
 
Registered: Jan 2010
Location: State College, PA
Distribution: Gentoo, Ubuntu 10.10 Netbook Remix, OpenSuSE 11.2
Posts: 19

Rep: Reputation: 0
sftp works but ssh does not


I see a bunch of threads that deal with ssh working but sftp not. I just the opposite of that. When I use sftp I'm immediately prompted for the key's passprhase and all works well. When I use ssh I am told

Permission denied (publickey).

I've looked at the file and I have read and write permission. I can use sftp, so it's not a problem on the other end. I can access the same server with the same computer using a different user account and a different key. I can access the same server using the same key from a different computer.

I'm using Ubuntu 10.10 with OpenSSH 5.3
 
Old 03-07-2011, 11:33 PM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
Have a look in the sshd cfg file on the server. May be something like 'match hosts'.
http://www.openbsd.org/cgi-bin/man.c...nfig&sektion=5
 
  


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 login works but sftp doesn't... koyi Linux - Networking 10 03-12-2020 08:44 AM
ssh works sftp doesnt...unless your root. sunshinekiller Linux - Server 10 10-16-2009 09:26 PM
Chroot SSH problem: ssh working, not SFTP & SCP. NaCo Linux - Security 3 02-01-2009 02:23 AM
SFTP auto login works one way only? jchambers Linux - Newbie 6 01-03-2009 01:29 PM
sftp no longer works, but ssh still does. muxman Linux - Software 0 05-19-2004 06:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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