Azure / Azure/Azure-DataFactory

SFTP Meet authentication failure when connecting to Linux SFTP servers

Aperta
#488 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
PowerShell
Stelle
529
Fork
623
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Hi,

I have been trying to test an SFTP linked service connection to Linux SFTP server, using SSH public key authentication, and an Azure generated SSH public key.

An example of the linked service configuration can be seen below...

![adf-sftp-config1](https://user-images.githubusercontent.com/40501541/205951133-b15086a9-b223-4923-9289-d78430c62917.PNG)

When testing this I connection the get the following error..

> Error code: SftpAuthenticationFailure
>
> Details: Meet authentication failure when connect to Sftp server '??.???.??.???' using 'SshPublicKey' authentication type. Please make sure you are using the correct authentication type and the credential is valid. For more details, see our troubleshooting docs. Permission denied (publickey).

However when testing to the same SFTP server using FileZilla, and the following configuration, the connection is successful.

![fz-sftp-config1](https://user-images.githubusercontent.com/40501541/205951909-0be6228e-3c20-4b58-83a6-dbdf21deec51.PNG)

Additionally, when using the same SSH public/private key pair, and authentication method, for an SFTP linked service connection to an SFTP enabled Azure storage container the connection is also successful.

I have tested this using the AutoResolveRuntime and a self-hosted integration runtime with identical results.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Inizia confrontando la configurazione della chiave pubblica SSH del SFTP linked-service di Azure Data Factory con le connessioni funzionanti di FileZilla e Azure Storage. Riproduci il problema con il server SFTP Linux utilizzando sia AutoResolveRuntime sia una integration runtime self-hosted. Il lavoro è completato quando viene identificato il motivo per cui l’autenticazione con chiave pubblica viene rifiutata oppure viene documentata la limitazione di configurazione.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
azure
Ambito
cloud
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.