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.

has ssh keys changed? i cant seem to get it to work anymore access Site A To B

Featured Replies

so i was re doing my servers...  it used to work in past the SSH keys to rsync

 

now it no longer works..  as i wanted to do that LuckyBackup  Unraid had that tutorial on..  but everytime  i do there steps..  it asks for Password//  yes no Fingerprint... or Password..

 

so i decided to start all over and it from scratch  with an Rysnc

but even with the Key on the remote site ... rysnc will not work unless i type a password in

 

so right now i have 

Site A  (Main)    192.168.0.1

Site B  (Backup)  192.168.1.9     < i have other servers but working on 1 at time>

 

when i try to rysnc  you can see  the password i still need to enter in.. i just testing copying a file folder from my documents folder to a download folder on the backup

 

 

root@Tower:/mnt/user/Downloads# rsync -avz -e "ssh -i /root/.ssh/Main_Server" /mnt/user/Documents/Bell/ [email protected]:/mnt/user/downloads/Bell/
Password: 
sending incremental file list
created directory /mnt/user/downloads/Bell

 

my steps were

ssh-keygen -t rsa -b 2048 -f /root/.ssh/Main_Server
cp /root/.ssh/* /boot/config/ssh/
scp /root/.ssh/Main_Server.pub [email protected]:/root/.

ssh [email protected]

cd .ssh/ ; if [ ! -f authorized_keys ]; then touch authorized_keys; chmod 644 authorized_keys; fi
chmod 600 Main_Server.pub ; cat Main_Server.pub >> authorized_keys

 

i tried to follow some from there and the link he had  for when using a VPN

 

as i use Pfsense  as the tunnel..

 

but i still need to add password..

 

what should be the proper steps?

as i want

 

Site A  (Main_Server)  192.168.0.1

Site B  (Back_Up1)   192.168.1.9

Site C  (Back_Up2)  192.168.1.8

 

i want them all to be talk to each other ... but for some reason it no longer works..

always askes  just a password.... or the  yes no fingerprint answer..

 

so i not sure whats not saving .

im sure i made a mistake

 

 

i know i mentioned before  but be nice an App in unraid 

 

Main Server...  

 Backup Server

 Backup Server

 

so the app would take the Main Server Pub Key and Generate   and then copy it to the multiple  Backup  Servers

then you would do it on your back up Servers...  so it it would do all the behind the scenese stuff  

and make sure its link

 

 

 

 

  • Author

i keep recreating it deleting the .ssh  folder 

and re run  and follow the  Luckybackup blog and the 1 step it forgets ... and   and i looked under  vpn section   

 

but in the end i still keep constantly having to enter the Root User Password on the 2nd server  when its supposed to just copy over

 

i tried to follow https://phoenixnap.com/kb/setup-passwordless-ssh

 

but it only works if you dont  ver off its steps.. if you want  to rename the id_rsa   to a different filename  like  Main_Server    it then no longer works.

wish there was a fool proof  setup/script/ Plugin Or App  just fill it in press Submit and boom bobs your uncle   everything is done for you behind the scenes

Edited by comet424

  • Author

i think maybe there is a bug  in the SSH key stuff

 

if you generate   using the default    "id_rsa"  that works

but when you have 5 unraid severs you cant use    5  id_rsa  file names   overwritting  things

 

but when you change the name   to say    server1..    so you have server1  server1.pub   and import it on the remote server.. that fails

 

but if you ssh-keygen   and get a id_rsa  file   and copy that id_rsa.pub to the remote server and import it..  then it will log in  but it will not allow you to change the name and allow it to work

 

  • Author

ive spent  8 hours constantly  trying to get ssh keys to work  with 0 luck  with alternative   to id_rsa

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.