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
can't ssh in server
-
-
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. -
-
Zitat von "davidh2k"Alles anzeigen
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? -
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.
-
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 waylogin 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_64The 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!