Jellyfin Forum
Cannot Use SFTP to connect - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: Cannot Use SFTP to connect (/t-cannot-use-sftp-to-connect)



Cannot Use SFTP to connect - shatteredfriend7 - 2024-07-01

Hello, this is my first time using Jellyfin, and I am receiving some errors that I cannot figure out where they are coming from. My error being "Authentication error, access denied." as seen in this image.

   


This error only occurs when I am trying to use a SFTP program, I've used Putty, Filezilla, and WinSCP, to remotely connect to my instance of Jellyfin. I've checked my username and password to make sure they work, by connecting to my instance through my browser and using the credentials to login, which I can access my Jellyfin dashboard, I've also copied and pasted my username into the fields to make sure I am not accidentally fat-fingering anything, and I've also used my username and password for the LXC container to see if possibly I am using the wrong credentials and that also gives me the same error.

   

Jellyfin, version 10.9.7, is configured through a bare metal ProxMox, version 8.1.4, LXC container with the template being Ubuntu 22.04. I'm at a lost, as I initially thought I was configuring the instance wrong, so I wiped it and reinstalled it. Though I get the same error. My objective is trying to access the instance, so I can upload media. If I missed any relevant information, please let me know, and I'll do my best to provide it and answer it.

The guide I used to help configure is at this link.
https://youtu.be/FtvobJjptbs?si=J27xG7ElLwhN0UGf


**UPDATE**
Quick Update
Tried to switch how I am connecting to my instance with FTP instead of SFTP and I now get an error stating the server timed out. Here is an image. I believe I must be missing something in my setup where my instance is refusing connections. I have Port Forwarding enabled.
   


RE: Cannot Use SFTP to connect - TheDreadPirate - 2024-07-01

Port 8096 cannot be used for FTP. You need to use port 21.


RE: Cannot Use SFTP to connect - shatteredfriend7 - 2024-07-01

Thank you for responding, when using port 21 I still receive an error. More specifically, it is saying that the server is refusing the connection.

   

When I switch to port 22 for a SFTP connection, I am getting denied, even though I can log in with this password. Maybe I am using the wrong credentials, though I believe I have to use the credentials I configured when I first booted Jellyfin, correct?

   


RE: Cannot Use SFTP to connect - ThomasPGH - 2024-07-01

I assume proxmox requires FTP/SFTP configured explicitely. Just a guess.


RE: Cannot Use SFTP to connect - TheDreadPirate - 2024-07-01

You could use SCP and it will use the existing SSH server. If you need/want to use FTP you need to setup a separate FTP server. Jellyfin does not have one built in.


RE: Cannot Use SFTP to connect - ThomasPGH - 2024-07-01

(2024-07-01, 11:26 PM)shatteredfriend7 Wrote: When I switch to port 22 for a SFTP connection, I am getting denied, even though I can log in with this password. Maybe I am using the wrong credentials, though I believe I have to use the credentials I configured when I first booted Jellyfin, correct?
Jellyfin doesn't know anything about FTP and SFTP. That's got to be the proxmox configuration.
The fact that you can log on to Jellyfin does not mean the same credentials can be used to log on to the FTP/SFTP server.