can't ssh in server

  • Hi like title can't login by ssh in server while it is activated and i know i have the right pw for it,what copuld be going wrong here?
    Need ssh to execute a script for plugins.
    please advice

  • Allready know what the problem is,wrong password.
    Thought i set it right withe installing omv.
    How can i change pw for ssh?
    I cant ssh into the server so can't execute command through shell.

  • as user


    Code
    passwd


    as root


    Code
    su passwd username


    You have terminal, locally.


    Greetings
    David

    "Well... lately this forum has become support for everything except omv" [...] "And is like someone is banning Google from their browsers"


    Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.

    Upload Logfile via WebGUI/CLI
    #openmediavault on freenode IRC | German & English | GMT+1
    Absolutely no Support via PM!


  • Sorry can't seem to find the terminal locally.
    Can start putty then i get asked for login:root
    Then i get aked for password but i can't get in.
    Is there where i put in your suggestion of su paswwd usernam?

    • Offizieller Beitrag

    Create a new user in the web interface and add that user to the ssh and sudo groups. Then you can login via ssh using the newly created user and execute sudo passwd root.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • When i login to putty with new user/ssh/sudo goups it says it can't chdir to baas(new user i made up)
    Ican login by the nwe name and pw through ftp with fillezilla by the way


    login as: baas
    baas@192.168.1.106's password:
    Linux OMVSERVER 2.6.32-5-amd64 #1 SMP Fri May 10 08:43:19 UTC 2013 x86_64


    The programs included with the Debian GNU/Linux system are free software;
    the exact distribution terms for each program are described in the
    individual files in /usr/share/doc/*/copyright.


    Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
    permitted by applicable law.
    Last login: Tue Oct 1 23:53:18 2013 from onzelaptop
    Could not chdir to home directory /home/baas: No such file or directory
    $

  • Edit baas in the user section of OMV web-gui and make the shell bin/bash. You are loggin in ok it is just baas does not have a home directory. Change the shell then you can run the commands above. If you do "ls" command you will see you are logged in ok.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!