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.

how do i avoid this rsync issue

Featured Replies

  • Author

as for the paraphrase no never enter enter

I entered a password twice when I keygen'd

  • Replies 171
  • Views 17.8k
  • Created
  • Last Reply
  • Author

soo I entered the password and it started working..  when it shouldn't... when I canceled and redid it and enter the password it failed

 

unraid12.PNG

You used the wrong "cancel" Ctrl+Z - this puts the task in the background suspended.

You should start over (by erasing /root/.ssh on both machines) and do things slowly step by step.

Worry about the backup/reinstall after you know its working and can reproduce it properly.

Also, you're screen shots are almost impossible to read.

 

All the info you should be available in this post of mine (as well as various bits and pieces in the whole topic.

 

  • Author

@ken-ji I don't think I can make the screen shots bigger   you just gotta zoom them in.. that's using  windows snipping tool.

 

 what command cancels  if not ctrl Z 

and I already followed that link..  remember I told you I did those steps and it failed reason for all the screen shots.. I sent also the other link in that link too I followed those steps..

I did those steps minus the scp as I just did windows copy instead..  and then tells me cant establish   the only thing you added that link didn't offer was that keyscan you mentioned... 

 

but ill try deleting the .ssh  and fromtower and sshroot and ill redo screen shots for ya

 

its Ctrl+C not Z

  • Author

@ken-ji so im having issues...  no chmod no cp  

I copied windows shares but even though I copying to a new folder windows said there was already copy of known_hosts  which it couldn't but here are some pics  ugh

 

unraid A1.JPG

unraid A2.JPG

Unraid A3.JPG

unraid a4.JPG

  • Author

so I tried using the scp  and I cant even do that... nothing will allow  unraid to unraid  to connect... and neither unraid has a password

 

unraida5.JPG

  • Author

and even if I do a password for Root  in gui…  entering that password in the scp  command line doesn't get accepted  

 

  • Author

do I need to format both unraids and start over... I don't really wanna cuz I have plugins and docker apps and vms  but if I have to.. if there is a glitch some how I guess I will as I cant figure this out.. I delete the .ssh   I delete the sshroots on the usbs  I start over  I get the CP and CHMOD back when I do a reboot  it works again... so I dunno whats going on  I no expert.. as unraid im coming close to a year of first time using  it

  • Author

tried another way @ken-ji   but nothing working....  I made user account mike psw  mike too 

 

unraida6.JPG

 

Can you list any plugins you have installed.

and keep the generated key named /root/.ssh/id_rsa if you rename it you'll need some additional commandline options and config files

Don't bother with a different user as they won't have the correct permissions (file access/creation will be impaired)

 

start fresh, delete /root/.ssh on both servers with

rm -frv /root/.ssh

delete the sshroot on the usb, remove the lines in the go file

 

Reboot the servers to be sure.

 

On tower:

# ssh-keygen -t rsa -b 2048 -f /boot/config/ssh/tower_root
Generating public/private rsa key pair.
Enter passphrase (empty for no passphrase): [press enter here]
Enter same passphrase again: [press enter here]
# scp /boot/config/ssh/tower_root.pub mitchsserver:/boot/config/ssh

The SCP should prompt for the root password. Make sure you set one in the GUI.

 

Repeat for mitchsserver:

# ssh-keygen -t rsa -b 2048 -f /boot/config/ssh/mitchsserver_root
Generating public/private rsa key pair.
Enter passphrase (empty for no passphrase): [press enter here]
Enter same passphrase again: [press enter here]
# scp /boot/config/ssh/mitchsserver_root.pub tower:/boot/config/ssh

Again here.

 

Then add this to tower go file

mkdir -p /root/.ssh
cp /boot/config/ssh/tower_key /root/.ssh/id_rsa
cat /boot/config/ssh/mitchsserver_key.pub > /root/.ssh/authorized_keys
chmod g-rwx,o-rwx -R /root/.ssh

and the mitchsserver go file

mkdir -p /root/.ssh
cp /boot/config/ssh/tower_key /root/.ssh/id_rsa
cat /boot/config/ssh/mitchsserver_key.pub > /root/.ssh/authorized_keys
chmod g-rwx,o-rwx -R /root/.ssh

Then on each server, run the same lines you inserted into the go file

 

then test it by running on tower

root@tower:~# ssh mitchsserver echo Hello
Hello
root@tower:~# 
root@mitchsserver:~# ssh tower echo Hello
Hello
root@mitchsserver:~# 

Once you get this far, problem solved.

  • Author

@ken-ji ok give me a bit to try that …

here the plugins  and do you need the oldplugins folder?

this shows both servers

 

unraida7.JPG

unraida8.JPG

unraida9.JPG

unraida10.JPG

unraida11.JPG

unraida12.JPG

  • Author

also I noticed I cant get pic from my cell  but when I rebooted  just before the tower login on the local console says

 

 

cat: write error :broken pipe

unstatd : cant process found

cat: write error:broken pipe

Edited by comet424

  • Author

@ken-ji  didn't work yet  

I gave root password of mike  didn't work   and I found web browser  it didn't like me changing the password as I changed it.. then web broswers asked me for root password  and I had to do it 3 times before it let me back in.. like unraid not saving password right

but here is the steps you told me haven't made it farther yet

 

unraida13.JPG

  • Author

if I make user account  mike  pass mike... it lets me  but loose connection right away

 

unraida14.JPG

  • Author

heres that errors on Tower

20190228_222335.jpg

  • Author

here is pic of doing mitchsserver side

 

unraida15.JPG

  • Author

@ken-ji im pretty sure I stumped you as I cant seem to fix this I keep trying differet thigns keep deleting sshroot .ssh  ssh  doesn't matter still get booted

I think you're approaching this in a complicated way. The first step should be - ensure you can login without a password from one server to another.

I'd definitely suggest not using a passphrase when you create the key(s) - at least until you can reliably ssh from one server to another.

When that's working without any problems, then add on the additional complexities like rsync or scp but for now those are confusing the issue.

Del

Yes so start over:

delete /root/.ssh on both servers with

rm -frv /root/.ssh

delete the sshroot on the usb, remove the lines in the go file

 

Reboot the servers to be sure.

 

On tower:

# ssh root@mitchsserver

This will definitely prompt about the unknown key (like this)

The authenticity of host '192.168.71.1 (192.168.71.1)' can't be established.
RSA key fingerprint is SHA256:DsrQk63wK2wX+GZRvT8Z2eP3C/W3qk9jb4z5cQQ4nyg.
Are you sure you want to continue connecting (yes/no)?

Just type yes

If there was no root password on mitchsserver set via the Web GUI, this will let you in right a away, else it will prompt you for the password which should let you in right away.

 

Repeat for mitchsserver.

 

Let's solve this problem at the core first. Once the SSH is stable and works without issue, we can start adding keys and rsync from a known position.

Edited by ken-ji

  • Author

@Delarius @ken-ji  I will try again but the image before you 2 replied

showed that I had deleted  sshroot  ssh .ssh I did the rm -vf  

it shows I ran the Keygen  and pass phrase was just enter..    I did the type "yes"  

like I mentioned   root has a password of mike...  you see I type   the password mike 3 times for root and it kicks me out it doesn't accept Root 

you see I used a user account called mike... with a password of mike... it allows that and right away connection closed...  so I do not know how you expect me to fix the login  

but ill do the steps again @ken-ji said but it will not allow me either direction

 

and the 2 go files I already rem'd out

Edited by comet424

  • Author

oh and in your last post you told me to do  ssh  not .ssh  but I remove both of them

 

I understand, but don't use a different user. IIRC non root users cannot login over ssh unless some adjustments are made. Did you use the ssh plugin to allow the mike user to login? I don't use the ssh plugin myself, so all the debugging that I know is based on stock unraid

The ssh plugin might be blocking root logins... which is definitely making your setup way more complicated to start from.

  • Author

@ken-ji I have a ssh plugin  but its only for I think the ssh rysnc  I had to install or so  but not setup for a user

servers are rebooting

 

Archived

This topic is now archived and is closed to further replies.

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.