This forum has been archived. All content is frozen. Please use KDE Discuss instead.

service ssh start

Tags: None
(comma "," separated)
Last_Gunslinger
Registered Member
Posts
53
Karma
0
OS

service ssh start

Thu Jan 19, 2012 7:24 pm
ok im trying to run the service and start using ssh in port forwarding but i keep getting this message
Redirecting to /bin/systemctl start ssh.service
Failed to issue method call: Unit ssh.service failed to load: No such file or directory. See system logs and 'systemctl status ssh.service' for details.


the woman in black fled accross time and the Gunslinger followed...
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: service ssh start

Fri Jan 20, 2012 2:40 am
Have you installed the appropriate SSH Server package in Fedora? You can use Yum to do this.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
Last_Gunslinger
Registered Member
Posts
53
Karma
0
OS

Re: service ssh start

Fri Jan 20, 2012 6:40 pm
which one? There are alot of them...


the woman in black fled accross time and the Gunslinger followed...
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: service ssh start

Sat Jan 21, 2012 8:32 am
Hard to tell without a list. My recommendations would be on the one named something like "openssh-server". It really should be installed by default however, can you check if /usr/sbin/sshd exists?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
Last_Gunslinger
Registered Member
Posts
53
Karma
0
OS

Re: service ssh start

Tue Jan 24, 2012 3:17 am
it exists


the woman in black fled accross time and the Gunslinger followed...
Last_Gunslinger
Registered Member
Posts
53
Karma
0
OS

Re: service ssh start

Tue Jan 24, 2012 3:19 am
and openssh-server is installed and updated
but i still get the error message "Redirecting to /bin/systemctl start ssh.service
Failed to issue method call: Unit ssh.service failed to load: No such file or directory. See system logs and 'systemctl status ssh.service' for details.
"


the woman in black fled accross time and the Gunslinger followed...
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: service ssh start

Tue Jan 24, 2012 4:18 am
Please check the output of "ls /lib/systemd/system/*ssh*.service"


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
Last_Gunslinger
Registered Member
Posts
53
Karma
0
OS

Re: service ssh start

Tue Jan 24, 2012 6:28 pm
*ssh*.service does not exist, but i found sshd.service and it has nothing about output :(


the woman in black fled accross time and the Gunslinger followed...
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: service ssh start

Tue Jan 24, 2012 11:53 pm
Try executing this as root:
Code: Select all
/bin/systemctl start sshd.service


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
Last_Gunslinger
Registered Member
Posts
53
Karma
0
OS

Re: service ssh start

Wed Jan 25, 2012 1:22 am
went to the next line but still getting that status is "Redirecting to /bin/systemctl status ssh.service
ssh.service
Loaded: error (Reason: No such file or directory)
Active: inactive (dead)"
and i tried ssh im ip address and request timed out
and i tried stating service again and
"Redirecting to /bin/systemctl start ssh.service
Failed to issue method call: Unit ssh.service failed to load: No such file or directory. See system logs and 'systemctl status ssh.service' for details."


the woman in black fled accross time and the Gunslinger followed...
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: service ssh start

Wed Jan 25, 2012 11:03 pm
Please notice that my command is for "sshd.service" not "ssh.service".
Can you try with the command I gave?
Code: Select all
/bin/systemctl start sshd.service


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
Last_Gunslinger
Registered Member
Posts
53
Karma
0
OS

Re: service ssh start

Wed Jan 25, 2012 11:33 pm
i did it went to the next line and didnt appear to do anyting and when i look at the status still comes as inactive


the woman in black fled accross time and the Gunslinger followed...
Last_Gunslinger
Registered Member
Posts
53
Karma
0
OS

Re: service ssh start

Wed Jan 25, 2012 11:37 pm
but i also did status of sshd and it comes as active


the woman in black fled accross time and the Gunslinger followed...
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: service ssh start

Wed Jan 25, 2012 11:59 pm
Your computer should have SSH operational then.
Running "ssh username@localhost" should yield a response (assuming no firewall interferes).


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
Last_Gunslinger
Registered Member
Posts
53
Karma
0
OS

Re: service ssh start

Thu Jan 26, 2012 12:04 am
i just did that, and it worked and no i dont have any firewalls running at this time
ssh Last_Gunslinger@localhost worked but ssh my router didnt work


the woman in black fled accross time and the Gunslinger followed...


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Google [Bot], q.ignora, watchstar