September 4, 20196 yr Hi, so I'm having trouble ssh'ing into my server. At first I was getting a Host key verification failed. error message, but then deleted my ssh/known_hosts file and got further along but still not fully in. Now when I try to ssh in 2 different things happen when I use both user IDs I created (root and my own) and I still can't get in. For the root user, it looks like my terminal window on my MacBook connects but then kicks me right back out. For my user zach I created, it says the keyboard is unresponsive and it seems like i can't type in my password. Attached a screen shot of it. Any idea's what's going on? Edited September 4, 20196 yr by yanksno1
September 5, 20196 yr Community Expert I think only the root user will work. Other users in Unraid are only really intended for controlling access to shares. Does the password for the root user have special characters that might have problems with the keyboard layout you are using?
September 5, 20196 yr You can only ssh using root. In terms of getting kicked out, it may be a connection issue - can you log in from the Unraid console? Check you syslog too, does it show a record of root logging in?
September 6, 20196 yr Author Thanks for the help so far. Well that explains it about trying my other user haha to log in. I'm definitely new at ssh! So now trying the root user, I changed my password on the user to make sure it wasn't that in the system. It kicked me out there, made me log back in so I know it shouldn't be the password right? But now when I try to ssh using the root I get "Permission denied, please try again". Tried looking at my System Log, but didn't see anything obvious. Anything I should look for? Attaching another screen shot just for you guys to look at to make sure I'm not doing anything wrong. Hopefully I can get it going.
September 6, 20196 yr 16 minutes ago, yanksno1 said: Thanks for the help so far. Well that explains it about trying my other user haha to log in. I'm definitely new at ssh! So now trying the root user, I changed my password on the user to make sure it wasn't that in the system. It kicked me out there, made me log back in so I know it shouldn't be the password right? But now when I try to ssh using the root I get "Permission denied, please try again". Tried looking at my System Log, but didn't see anything obvious. Anything I should look for? Attaching another screen shot just for you guys to look at to make sure I'm not doing anything wrong. Hopefully I can get it going. Just double checking, were you ever able to ssh onto your unraid machine? AND Is the following setting enabled (It is located in Settings > Management Access): Edited September 6, 20196 yr by Conmyster
September 6, 20196 yr Root would simply be / What files in particular are you using to remove? I don't tend to touch any files in the root or created by unraid.
September 6, 20196 yr Author Found out what it was! My "Permit Root Login" setting was set to no. That'd do it. I'm now in after resetting it. Wonder why it was set that, was able to before. Must have happened in an update. Thanks for pointing me in the right direction!
September 6, 20196 yr Author Deleted that post by accident. So I'm trying to remove some directories in my /mnt/disk1/ folder. I tried this but it gave me this response: root@Tower:~# sudo rm /mnt/disk1/TV rm: cannot remove '/mnt/disk1/TV': Is a directory Am I doing anything wrong there? These were folders that were created by the Channels DVR docker that I switched directories to. Edited September 6, 20196 yr by yanksno1 Channels DVR is a docker, not a plugin
September 6, 20196 yr 5 minutes ago, yanksno1 said: Deleted that post by accident. So I'm trying to remove some directories in my /mnt/disk1/ folder. I tried this but it gave me this response. root@Tower:~# sudo rm /mnt/disk1/TV rm: cannot remove '/mnt/disk1/TV': Is a directory Am I doing anything wrong there? These were folders that were created by the Channels DVR docker that I switched directories to. Okay I see, are you using any kind of user shares? or just disk shares? I would be careful deleting direct off the disk if user shares are in play as you will only remove the files on that disk. In any case the correct command would be: rm -r /mnt/disk1/TV As you are root you do not need to use sudo and you need the -r toggle to go recursive (ie delete directory, sub-directories and files) Edited September 6, 20196 yr by Conmyster
September 6, 20196 yr Author Thank you so much! The rm -r command worked. Everything so clean again! Very happy. Saved a screenshot of this for the future.
Archived
This topic is now archived and is closed to further replies.