Posts by Herm71

    Hi Folks,
    Ok, "PermitRootLogin yes", as shown below:


    ... and I still get: Permission denied (publickey, password) trying to log in with root.


    a bit more background: I typically set up a static hostname at http://www.no-ip.com, which gives me a "real" url to access my OMV that looks something like "myhost.no-ip.org". Of course, my OMV has its own ip address, 192.168.1.XX, and the internal domain of OPENMEDIAVAULT. I can access the web admin in my browser using either "myhost.no-ip.org" or "192.168.1.xx" (if I'm within my own LAN). In past installations of my OMV, within my own LAN I could also SSH into it with all three addresses, i.e., "user@myhost.no-ip.org", "user@192.168.1.xx", or "user@OPENMEDIAVAULT". Of course, if I'm on the road, I use "user@myhost.no-ip.org".


    Currently, however, I can only use my no-ip url or my LAN IP -- even with the "fix" I described in my second post -- to gain access, if I use "user@OPENMEDIAVAULT" , I get the following response:

    Code
    user@Notebook-PC:~$ ssh user@OPENMEDIAVAULT
    ssh: Could not resolve hostname openmediavault: Name or service not known
    user@Notebook-PC:~$


    ... and finally, even with my "fix" described in my second post, whenever I SSH into my server with "user@myhost.no-ip.org" I get an odd "key_from_blob: can't read key type" error -- twice -- before it finally lets me in, like so:


    So, to recap:


    1) OMV never asks me for password when I try to SSH into it but gives me the "Permission denied (publickey, password);"
    2) This occurs with either a user or root login and even if sshd_config includes "PermitRootLogin yes"
    3) I can fix this for a user as described in my earlier post; I have not attempted this method for root;
    4) SSH "cannot resolve hostname openmediavault: name or service unknown"
    5) ssh user@myhostname.no-ip.org returns the "key_from_blob" error twice before finally allowing me access to my home directory.


    Apologies if these additional issues are beyond the scope of my original post but they all seem related to me in that I've experienced all of them trying to gain access to my OMV via SSH.
    Thanks for the help.

    tekkbebe and ryecoaaron, thanks for your responses. I've solved many a problem using your replys to posts on this forum. Re: my sshd_config, that would explain the inability to log into root; however, I must confess that I've "clicked" and "unclicked" the allow root checkbox a number of times trying to get it to work so perhaps what I uploaded is the result of one of the times I "unclicked" it. However, even if I don't allow root config, shouldn't I at least be able to log in as my user? I'll make the edit tekkbebe suggests (PermitRootLogin yes) and report back, but I'm still suspicious that there's something else awry. Stay tuned ... (please).

    Certainly! Here you go:


    Thanks!

    Fixed it --- kinda.


    Here's how I was able to finally access via SSH. Went into the dashboard and temporarily shared my "Users" directory in both Linux and CIFS. I'm running the latest version of Ubuntu on my personal computer but I needed to access the "CIFS" network to gain access to my "Users" folder. From there I navigated to my user name. Making sure the "show hidden files" option was selected, I was able to navigate to my .ssh directory. I'd already generated an RSA pair on my Ubuntu box, so, on my OMV server, I was able to create an "authorized_keys" file and paste the .pub RSA that I'd created on my Ubuntu machine into it. Once I'd accomplished this, I was able to access my OMV via rss. I quickly "unshared" my "Users" directory in the OMV WebUI and I'm off and running again.


    I would consider this a workaround, not a Fix. I'm still not able to ssh into my OMV server using the settings presented to me in the WebUI SSH setup. Is there something I can do to enable this in the future?

    Hi,


    I've been trying to ssh into my OMV all afternoon and it keeps giving me Permission denied (publickey, password). I have done this many times and believe I have selected the proper settings in the OMV Web Admin (specifically, "Enable keyboard-interactive authentication" : Checked!) I've also gone into /etc/ssh/ and looked at my sshd_config file and everything looks fine. But when I ssh into my box, it doesn't ask me for my password, just pauses and ... Permission denied (publickey, password)! I have various RSA keys that I use and would like to get them set up in my /user/.ssh/ directory but I cannot access anything. I've tried creating an entirely new user and pass in the WebAdmin and accessing it via the new user but I get the exact result. I'm fairly handy in the terminal and I've set up RSA keys for all the servers I access without issue. This has been an intermittent issue with my OMV since installing a few months ago. This is driving me nucking futs. Any help?

    Hello all who helped,
    Thanks for all your help. Like I mentioned, this was a "dry run" to get my feet wet with OMV. I actually ended up reinstalling again and starting from scratch, based on stuff I've been learning via these forums (and, you know, Google ;-)). Anyway, I don't know why I wasn't able to access my shares before but I'm able to now. I learned the "type the first three characters and press Tab" trick -- thanks for that! I reinstalled OMV and went with the LVM (which might be cause for a future forum post/question, but as a former WHS v.1 user, I really miss "drive pool technology" as opposed to just RAID).


    So, I've got a 4TB pool created (2 X 2TB WD Caviar drives) and I'm currently in the process of RSYNCing my files over from my FreeNAS box. I'm able to access my shares via SMB/CIFS, got Transmission, DLNA and forked-daap running. So ... so far so good!


    Thanks again.

    Quote from "ryecoaaron"


    That is my uuid :) Try:
    cd /media/
    ls


    This will show you directories in /media


    I should've specified, I used my version of that, using my uuid. I actually went to /media/ and "ls", got the uuids, tried to 'cd' into one of them, and got "no such directory" error. Hmmm...

    Quote from "davidh2k"

    If they are located within the same share they should be moved instant.


    Greetings
    David


    Hi David,
    Thanks for your reply. Last night I Rsynched a sample of data from my FreeNAS box to the OMV as a test. I didn't put a trailing slash in the pathway in RSYNC module so what copied was all the files nested within their original directory, whereas, I wanted just the files themselves. This is what got me going on this goose chase. At first I started deleting the directory with all the files via Windoze/SMB share but that was taking *forever*. So, I cancelled the delete job and thought I'd just ssh into the OMV and move or remove them via the command line. This is where I got stuck actually locating the files (which, evidently, are in "/media/". At any rate, deleting the files via Windows/SMB access didn't seem very "instant."


    Anyway, I'm still configuring things and poking about, so I will take this info into account!

    Quote from "ryecoaaron"

    Filesystems are mounted in /media using the drives uuid - /media/ed60b1a2-a21f-4b4f-942f-470d0bf35e95


    You can find the uuid of a filesystem using blkid


    Hi ryecoaaron,


    I found this directory but when I tried to "cd /media/ed60b1a2-a21f-4b4f-942f-470d0bf35e95/" I got an error that there was no such file or directory. I will try "blkid" and see what happens.


    Thanks for your response!

    Hi,
    There's got to be a simple answer to this. I have been searching the forums and the internet for two days trying to figure this out. I'm new to OMV. I'm in the process of moving over from FreeNAS. I liked FreeNAS but it was too resource heavy for my Intel Atom MOBO with 4 gigs of ram. I'm also newish to Linux and CLI but I'm learning a ton working with these servers!


    My big question is: Where are my shares in the shell/SSH file directory heirarchy? In FreeNAS, I've got LVZ volumes and they show up in /mnt/; however, if I ssh into my omv box with root and go to /mnt/ nothing shows us when I "ls". I have poked around the entire directory structure for the past day and see /media/ directory that looks possible but I can't select any directories within it.


    I'm using RSync to move my files from the FreeNAS machine to OMV, and I can access my OMV shares from my Windows machine using SMB/CIFS. However, I'd like to rearrang some of the directories on the OMV and thought I'd go in via SSH to do it using "mv" because moving large amounts of data from windows/smb is so slow. However, I just can't find where they are.


    Again, I'm sure the answer is simple. Any assistance would be greatly appreciated,