?
Solved

unable to connect to remote sftp site using ssh/ssh2 public authentication keys

Posted on 2004-09-26
2
Medium Priority
?
405 Views
Last Modified: 2010-04-22
I am trying to connect to a remote sftp server using public authentication (using private and public keys --dsa)

I am unable to connect and am getting the following error:
debug: Ssh2AuthClient/sshauthc.c:316/ssh_authc_completion_proc: Method 'publickey' disabled.

(the host server ssh version is
ssh: SSH Secure Shell 3.1.0 (non-commercial version) on i686-pc-linux-gnu)
and the remote sftp server version is
(OpenSSH_3.4 NetBSD_Secure_Shell-20030917, SSH protocols 1.5/2.0, OpenSSL 0x00906
07f)

Btw, I narrowed to error to be on the host server.
because I am able to connect to the remote sftp server from two other linux boxes using public/private keys(found no problem there)

Any inputs will be highly appreciated

Thanks
0
Comment
Question by:vsuripeddi
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 40

Accepted Solution

by:
jlevie earned 300 total points
ID: 12156490
If I understand the question correctly public/private keys work if the client side is running OpenSSH (which is the default on Linux and the server is also using OpenSSH. But the connection fails if the client is running the non-commercial version of SSH. Is that correct?

That might be a case of SSH not being compatible at the public/private key level and the obvious solution would be to install OpenSSH on this client.
0
 

Assisted Solution

by:benjamin_smee
benjamin_smee earned 75 total points
ID: 12240859
the answer is simple, ensure that you have allowed public key authentication on the SERVER and rehup the ssh daemon for it to take effect. In particular the configuration directive you are after is:
PubkeyAuthentication yes
in /etc/ssh/sshd_config
0

Featured Post

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello EE, Today we will learn how to send all your network traffic through Tor which is useful to get around censorship and being tracked all together to a certain degree. This article assumes you will be using Linux, have a minimal knowledge of …
Fine Tune your automatic Updates for Ubuntu / Debian
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses
Course of the Month8 days, 15 hours left to enroll

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question