Hello, I am trying to start ssh service in linux ubuntu...with the command service sshd start also i tried /etc/init.d/ssh start and also i used sudo commands..but for all the commands output is bash--(service)(sudo) command not found.. I am logging as root. Please suggest me a solution to get out of this.
Error on ubuntu Hello, On my server i installed ubuntu and also i have bitnami application for web application purpose.. Now while i am trying to enable ssh i used all commands with sudo;service;/etc... For any command the output remains same saying that sudo command not sound... service command not found..... /etc/init.d is not a directory.. Plz share ur suggestions so that i can successfully enable ssh Thanks in advance.
Hi Proceed as follows: you will logged in as root then change the password of root. then check the status of ssh service as follows: For this you need to give entries of your user in /etc/sudoers file. Br// Srijan Br// Srijan
Dear Srijan, When i entered sudo -i command.....output is -su : sudo :command not found then..... /etc/init.d/ssh status it does not returns anything. /etc/init.d/ssh start it does not returns anything /etc/sudoers output is -su: /etc/sudoers : Permission denied. Please suggest.. Thanks in advance.
10.10 doesn't support "service" yet IIRC. Use instead Code: /etc/init.d/ssh start And to always start it at bootup: Code: update-rc.d ssh defaults
/etc/init.d ssh start doesn't return any statement........does it mean that ssh started... but when i tried to login that server via ssh it is not connecting.
I was not a part of this server while installing...... In one VM......they installed ubuntu os and bitnami application.