Jump to content

comet424

Members
  • Posts

    1,922
  • Joined

  • Last visited

Everything posted by comet424

  1. 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
  2. root@Tower:~# ssh-keygen -t rsa -b 2048 -f /root/.ssh/Main_Server Generating public/private rsa key pair. Created directory '/root/.ssh'. Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /root/.ssh/Main_Server Your public key has been saved in /root/.ssh/Main_Server.pub The key fingerprint is: SHA256:PQIIf9bLJLNAua+QP22UCMwjGYJK9a0ZS+dZR2r9Cnc root@Tower The key's randomart image is: +---[RSA 2048]----+ |. o... . | |+. +o... + | |+= +=*oo+ o | |+ = o+BB+o. . | | . + *.+S.o. E | | o . + .o.o | | o + . | | + o | | o | +----[SHA256]-----+ root@Tower:~# scp /root/.ssh/Main_Server.pub 192.168.1.9:/root/.ssh/ The authenticity of host '192.168.1.9 (192.168.1.9)' can't be established. ECDSA key fingerprint is SHA256:oEGNuV3hDSqyFBqKN725eHCJfx9zND6Dv2deeI46v74. Are you sure you want to continue connecting (yes/no/[fingerprint])? yes Warning: Permanently added '192.168.1.9' (ECDSA) to the list of known hosts. Password: scp: /root/.ssh/: Is a directory root@Tower:~# ssh [email protected] Password: Last login: Fri Feb 25 10:04:21 2022 from 192.168.0.3 Linux 5.10.28-Unraid. root@MitchFlix:~# mkdir /root/.ssh root@MitchFlix:~# exit logout Connection to 192.168.1.9 closed. root@Tower:~# scp /root/.ssh/Main_Server.pub 192.168.1.9:/root/.ssh/ Password: Main_Server.pub 100% 392 4.1KB/s 00:00 root@Tower:~# ssh [email protected] Password: Last login: Fri Feb 25 10:10:33 2022 from 192.168.0.3 Linux 5.10.28-Unraid. root@MitchFlix:~# cat /root/.ssh/Main_Server.pub >> /root/.ssh/authorized_keys root@MitchFlix:~# cd /root/.ssh root@MitchFlix:~/.ssh# ls Main_Server.pub authorized_keys root@MitchFlix:~/.ssh# exit logout Connection to 192.168.1.9 closed. root@Tower:~# rsync -avz -e "ssh -i /root/.ssh/Main_Server" /mnt/user/Documents/Bell/ [email protected]:/mnt/user/downloads/Bell/ Password: sending incremental file list sent 159 bytes received 12 bytes 31.09 bytes/sec total size is 23,958 speedup is 140.11 root@Tower:~# ^C root@Tower:~# followed the unraid luckybackup blog with a few changes to do exactly the luckybackup blog this is what it is minus 1 step they forget to tell you you have to do... and you see you still need the Root Password for the 192.168.1.9 server.. and i just used the rysnc command line didnt load up luckybackup still need Root Password of the Backupserver 192.168.1.9 root@Tower:~# ssh-keygen -t rsa Generating public/private rsa key pair. Enter file in which to save the key (/root/.ssh/id_rsa): Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /root/.ssh/id_rsa Your public key has been saved in /root/.ssh/id_rsa.pub The key fingerprint is: SHA256:hV6EJr9XtRNZCWxKca27F5dV9o2H7+TjQ6a4FuboVS8 root@Tower The key's randomart image is: +---[RSA 3072]----+ | ...ooooo| | . oo ..o+oo| | +. + o..*+| | ..o ...= =| | S. . ..+o| | . .o...=+| | .+.oE==o| | ..+ o.+o| | ..... o.o| +----[SHA256]-----+ root@Tower:~# scp /root/.ssh/id_rsa.pub 192.168.1.9:/root/.ssh/ Password: scp: /root/.ssh/: Is a directory root@Tower:~# ssh [email protected] Password: Last login: Fri Feb 25 10:15:49 2022 from 192.168.0.3 Linux 5.10.28-Unraid. root@MitchFlix:~# mkdir /root/.ssh root@MitchFlix:~# exit logout Connection to 192.168.1.9 closed. root@Tower:~# scp /root/.ssh/id_rsa.pub 192.168.1.9:/root/.ssh/ Password: id_rsa.pub 100% 564 18.0KB/s 00:00 root@Tower:~# ssh [email protected] Password: Last login: Fri Feb 25 10:16:56 2022 from 192.168.0.3 Linux 5.10.28-Unraid. root@MitchFlix:~# cat /root/.ssh/id_rsa.pub >> /root/.ssh/authorized_keys root@MitchFlix:~# cd /root/.ssh root@MitchFlix:~/.ssh# ls authorized_keys id_rsa.pub root@MitchFlix:~/.ssh# exit logout Connection to 192.168.1.9 closed. root@Tower:~# rsync -avz -e "ssh -i /root/.ssh/id_rsa" /mnt/user/Documents/Bell/ [email protected]:/mnt/user/downloads/Bell/Password: sending incremental file list sent 159 bytes received 12 bytes 31.09 bytes/sec total size is 23,958 speedup is 140.11 root@Tower:~# ^C root@Tower:~# this is why i requesting.. a Flawless no way you can make a mistake.. and works 100% of the time.. as right now i must be doing something wrong.. as it shouldnt keep asking me for the 192.168.1.9 Root User Password..
  3. and on my other server i have the keys there and i get the finger print error this is why i just looking for a Flawless way to create it for anyone that isnt an advanced user.. just simply fill in the fields just like Filling in Server name Field and Description Field.. and then you click Save and your done i will recreate the entire process and paste it... since im not being believed what i see
  4. and reason for the request to do it flawless set it up and have 0 mistakes... for anyone that isnt an experienced user as you see i need a password even though the other computer has the Key you need the Root Password on the Remote Site for it to rsync as you see above
  5. i trying to avoid errors like this in Lucky backup.... and the Yes/no/fingerprint
  6. well thats why i said i looking for flawless as you see in General support i have issue with Lucky Backup asking for a Password or a Yes/No/Fingerprint also Rysnc will not work here is copy from 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 so you still need to add Root Password.... or am i doing something wrong? thopugh the SSH keys was to bypass Root password thats why i requesting a Fool Proof Key Generate and Copy to multiple servers flawless
  7. oh and i did that passwordless setup in my General Post i showed my steps.. and the LuckyBackup Steps did not work. it still asks for a password or yes/no/fingerprint everytime you run rsync with the key file so thats why i posted a feature request... where it sets everything up without any mistakes.. all you have to do is fill in the fields and press Submit button and it does it all in the background so the only Password is on "Root" because damn Fix Common Issues says you need a Password.. but there is no Password on the SSH Key only on Root login thats the password its asking for Root not SSH Key
  8. no password... I hit Enter 3 times only password i entered is Root Password of 192.168.1.9 because Fix Common issues keeps throwing me error Root has no password.. so i gave it a password my other 2 servers do not use passwords
  9. i kinda mentioned before but be nice if Unraid had built in Option... as i have issues its not taking SSH Keys to Rsync.. still need a a password to rsync even though other site has the pub keys etc but it be nice in the Gui an option Main Server : <key Name> rsa 2048 1. Backupserver : 192.168.1.8 <password> 2. Backupserver : 192.168.1.9 <password> 3. Backupserver : 10.10.10.10 <password> 50..... <cancel> <Submit> and what then it do it would Create the Key Name then it would connect copy the keys to the approiate spot... it would give whatever permissions needed.. and tell ya if there is an error or if its constantly going to keep saying "password" or yes no fingerrprint when you rysnc or wanna just "ssh root@"192.168.1.9" and not need a password but like a 1 Click option be great and then you can do it on your backup servers same... just enter above and then it would copy all the info to 3 backup servers and it be in cremental to so if you had 50 unraids you just do it .. and it would copy to all 50 unraids so this way you cant makes a mistake by typo or not a right Chmod etc.. all behind the scene also another feature if it saved the info above it it could say 1. Backupserver : 192.168.1.8 <connected> 2. Backupserver : 192.168.1.9 <diconnected> 3. Backupserver : 10.10.10.10 <connected> 4. Backupserver : 10.10.10.40 <unable to esstablish connection> this would show which sites are connected with the SSH and which ones are offline or cant connect and it could try to connect to everyone at boot up
  10. 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
  11. didnt do anything for me.. the plugin it didnt change what i have as i got 3840x2160 if i ctrl + mouse wheel to change the font size to make it max fix but didnt help i guess plugin doesnt help cuz i have a bigger resolution then the 1920 so it auto already stretchs
  12. i use 65" at 3840x 2160 resolution with a 200% increase in the windows settings and i use the majority of the green tab bar i can add one more word and then was hoping to increase the font size of the Tab itself and then reload it... ill check out the unlimited width plugin in too.. i appreciate it.. for now i maxed out and wanted to add more custom tab ones for ease but i wanted a 2nd line would would help.... even if i could add background color and change the regular color.. of the text for each tab... but ill check that plugin to see if it helps
  13. a feature request be really nice is.. to have at least 2 Lines of Tab.... i use a 65" screen to see unraid better for my vision and i have multi custom tabs.. but if you were to resize the screen you loose the Tabs.... and you can scroll left to right the window like some webpages but be nice when you have a full roll with tabs takes up the entire line.. that after it would goto the next line.. likes a Windows Notepad Word wrap.. this way i could have 2 maybe 3 rows with the custom tab.. and it would scale to the scaling of the window... and possibly able to increase the Font size of just the Tabs
  14. ah ok ill request an os feature then as it be nice to wrap it .. as i use a 65" monitor as i have sometimes hard to read smaller screen and i have several tabs but when i got smaller or resize it wont.. but ill ask for a feature request 🙂
  15. i have request ... i notice if you have several custom tabs.. unraid gui page wont resize so you can scroll the window left to right but what be nice is since the Tab bar is only 1 Line if you have multiple tabs and your screen is smaller.. make the Tab Bar 2 Lines so like a Notepad Word Wrap.. so cant fit in the screen not a problem word wrap it.. for me i loose several custom tabs unless i use a big monitor etc and not resize font sizes
  16. ya thats what i thought.. i was meaning cuz he mentioned he had pro and supposed to be unlimited but usually that unlimited comment usually ment about the array part.. id like to see his computer case 96 disks...
  17. pro license is really not unlimited.. its like what 30 hard drives... either 30 data? or 28 data 2 parity if i remember right.. but then you can add mulit pools maybe of 30 each i dont have that many hard drives to test.. but someone smarter then me probably has the right answer
  18. i cant seem to get the h265ize docker to run i installed the defaults and when i run it it wont start i checked the log it tells me this chmod: cannot access '/mnt/user/h265ize/output/init.sh': No such file or directory am i supposed to do something other then install the docker?
  19. im getting these php errors not sure why? Feb 11 19:22:18 mitchsserver kernel: ACPI: Early table checksum verification disabled Feb 11 19:22:18 mitchsserver kernel: floppy0: no floppy controllers found Feb 11 19:22:18 mitchsserver kernel: random: 7 urandom warning(s) missed due to ratelimiting Feb 11 19:22:27 mitchsserver rpc.statd[1731]: Failed to read /var/lib/nfs/state: Success Feb 11 19:23:00 mitchsserver unassigned.devices: PHP Warning: parse_ini_file(state/diskload.ini): failed to open stream: No such file or directory in /usr/local/emhttp/plugins/unassigned.devices/include/lib.php on line 351 Feb 11 19:23:03 mitchsserver unassigned.devices: PHP Warning: parse_ini_file(state/diskload.ini): failed to open stream: No such file or directory in /usr/local/emhttp/plugins/unassigned.devices/include/lib.php on line 351 Feb 11 19:23:05 mitchsserver unassigned.devices: PHP Warning: parse_ini_file(state/diskload.ini): failed to open stream: No such file or directory in /usr/local/emhttp/plugins/unassigned.devices/include/lib.php on line 351 Feb 11 19:23:08 mitchsserver unassigned.devices: PHP Warning: parse_ini_file(state/diskload.ini): failed to open stream: No such file or directory in /usr/local/emhttp/plugins/unassigned.devices/include/lib.php on line 351 Feb 11 19:23:11 mitchsserver unassigned.devices: PHP Warning: parse_ini_file(state/diskload.ini): failed to open stream: No such file or directory in /usr/local/emhttp/plugins/unassigned.devices/include/lib.php on line 351 Feb 11 21:07:29 mitchsserver dhcpcd[1686]: br0: failed to renew DHCP, rebinding mitchsserver-diagnostics-20220212-0035.zip
  20. so i have question if the gui main page orginally said my 1TB cache pool was full as i couldnt write to it anymore.. it was 46gb and i had min set to 50gb and when i added the 2nd drive as you seen above and it brought down the file size from 1TB less 50gb down to 400 and something gb does that mean there was lost files broken files that unraid said there was files but there wasnt... is that what the scrub is for.. to scan the drive and remove the false file size display.. i remember years ago there was a program for windows were say it says 100gb used but really on a usb that was only 32gb say or can u use TRIM on a spinner drive? as i using a spinner not a SSD and after i moved the files to the array.. and removed the 2TB drive and then formated the 1TB to be a cache pool again.. now when i moved the files back off the array to the download drive.. it no longer reports 1TB used in gui main page but 400 used and like 500 free for the 1TB ... so 500gb was lost in dead etc? and i do regular cleaning of the Recyling Bin so the files werent there.. so what would cause it to balloon a a move from the pool to the array then basiclly a format i guess then move back fixes it? is there a regular scan to clean up the pool? and does this ever happen on the array?
  21. so i tried the Raid 0 and Single drive and Best Performance i get the 2.57TB free diskspace yet Used disk space is still 427gb when used disk space should be 800 and something might just just move the 800 gig of files to the array then redo the download pool drive remove the 1TB and then move the 800 gb of files to the 2TB drive it should report 800 gb or will its report 400gb?
  22. @ChatNoir that helped alot i see i see its not good to use 1TB and 2TB drives together... Striping the Data Raid 0 says you get 3TB yet 1TB is unusable so stripping data is 2TB usuable.. i guess you loose 1TB of data striping the data between 2 odd ball drives but if its 2 2TB drives no unusable.. if you have 2 1TB thats ok to Stripe data if its 2 2TB drives thats ok to Stripe Data.. but if its 1TB and 2TB drive its not good to strip that data you loose data shows best to keep it a single Disks.. damn odd ball drives i have lol seems if its always an odd ball number you loose data Stripping data no matter what if you had a 2Tb and a 6TB stripped to 8TB only 4TB is usuable and 4TB is unusable too so kinda confusing but i guess best practice ... do not mix drives in the end for cache least not odd balls keep it 2 2 2 or 6 6 6 or 1 1 1 1 sizes when you use a 6TB and 2TB Drive stripped you have 0 disk space you can use in the end Total space for files: 4000 Total raw disk space: 8000 Unusable: 4000 region 0 Usable 4000 Disks/alloc 2 but i guess how it works is 2TB (2TB drive) + 2TB (6TB drive) = 4 usuable and 4TB left on the 6TB is unusable i guess what the raid0 does is basiclly what the parity drive does... only as big as its biggest drive or really smallest drive
  23. so its a glitch/bug then and your said Total Capacity.. i said "used space" not "total capactiy" as total capacity is different to used space so what happens if i add a 3rd drive? so be 1TB 2TB 3TB does it take the used diskspace from 800gb (single disk ) to 400gb (2 disks) to 200gb used (3 disks) is that how the math works so in the end its best to get same size drives when doing the mirror mode... as i dont mind the mirror option but i just dont want the gui throwing me errors when math doesnt add up to me its like unraid compressiongs 800 phyiscal data down to 400 gb physical data to me it should still say 800 gb used 500gb free of 1.5TB pool as to me unraid does super compression but thanks for the input learn something everyday if its mixed drive dont do mirror.. only do raid 0 if its same sized drive then u can do mirror propperly i appreciate it...i just dont want gui kicking me any errors etc
  24. ok i lost when i had a Single Disk 1TB drive i filled it up so it was 800Gb+ Used (main page and Krusader) when i added a 2nd Disk 2TB to the drive Used Space is now in the 400Gb how did physically 400Gb go missing? cuz shouldnt it be 800GB used 500 gb free 1.5TB pool 800GB used 500 gb free 3.0TB pool cuz the gui is not showing the correct stats of the pool for used gig main page says 1TB actuallly 998gb = 1500 gb (1.5tb) so why is gui page loose 400gb of diskspace at least it should really say 800gb used 500gb free of 1.5tb free the math on the GUI page doesnt add up
×
×
  • Create New...