Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

SCP from Ubuntu to Unraid

Featured Replies

Hello!

 

I'm not well versed in the world of Linux, so this might be a newbie question, but I can't figure out these access permissions...

 

I am running Unraid v6.9.2 on a PC.

On a Raspberry Pi 4, I am running Ubuntu 20.04.3.

My desktop PC is running Windows 11.

 

I want to copy files from the RPi to Unraid without passing Win11, but the user password is not accepted.

I have tried the following from the originating RPi:

 

scp test-file.txt test-user@Tower:/mnt/user/test-public

 

SCP (I assume) is asking for the password of "test-user", but I get a "Permission denied".

I just created the share "test-public" with both NFS and SMB set to export and public.

I also just created the user "test-user" on Unraid with read/write access to that share.

 

From my Win11 PC I have connected to Unraid via SSH using Tabby Terminal.

I have also connected to the RPi the same way.

So this is not the common "Windows share access"-issue, as I am not trying to access Unraid from Windows.

 

But I don't see what I am doing wrong... 😞

 

On Unraid, the "/mnt/user/test-public" share looks like this:

 

drwxrwxrwx 1 nobody   users     6 Dec 14 07:43 test-public/

 

How can I find out what is wrong?

 

------

 

Edit:
I forgot to mention that once I figure out what I'm doing wrong, I will not be using public shares.

The share is intended to be "Secure" with only a specific user having write access to it.

In the example above, I'm just using publich shares to demonstrate that not even the simples scenario that I expected to work works.

Edited by Reyhn

  • Community Expert

Not sure what is going wrong, but I do not use scp for this but instead have successfully mounted the Unraid shares on Raspberry Pi systems by first doing:

sudo apt update
sudo apt install samba samba-common-bin smbclient cifs-utils

and then using using entries in /etc/fstab of the form:

//network-name/share-name     mountpoint cifs auto,uid=pi,gid=pi,user=username,password=password,_netdev  0  0

although you should be able to use the equivalent 'mount' command on Rpi instead of fstab entries.

 

I have also gone the other way and set up a Samba server on a Raspberry Pi and then mounted this from Unraid via the UD plugin.  You can google for the steps to achieve this.

 

Note the above steps also work for me when I want to transfer files between a Windows machine and a Raspberry Pi

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.