LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 08-03-2012, 12:43 PM   #1
mickeyboa
Senior Member
 
Registered: May 2004
Location: Indianapolis, Indiana
Distribution: FC-KDE, 32 and 64 bit
Posts: 1,398

Rep: Reputation: 55
whereis ssh?


F17

Where is ssh ? it is shown in Firewall as enabled, but not in Services, no ssh shown.

# service ssh start
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.

[root@Acer mickey]# systemctl status ssh.service
ssh.service
Loaded: error (Reason: No such file or directory)
Active: inactive (dead)
 
Old 08-03-2012, 12:48 PM   #2
YankeePride13
Member
 
Registered: Aug 2012
Distribution: Ubuntu 10.04, CentOS 6.3, Windows 7
Posts: 210

Rep: Reputation: 48
Check in /etc/init.d
 
Old 08-03-2012, 09:35 PM   #3
frankbell
Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Mageia, Mint
Posts: 7,715

Rep: Reputation: 1458Reputation: 1458Reputation: 1458Reputation: 1458Reputation: 1458Reputation: 1458Reputation: 1458Reputation: 1458Reputation: 1458Reputation: 1458
If you are talking about the ssh server to accept ssh connections, I think you might be looking for sshd.

http://www.labtestproject.com/linnet...sh_server.html
 
Old 08-04-2012, 04:47 AM   #4
SharpyWarpy
Member
 
Registered: Feb 2003
Location: Florida
Distribution: Fedora 18
Posts: 862

Rep: Reputation: 90
frankbell is right. Run this:
systemctl status sshd.service
and post the output.
 
Old 08-04-2012, 11:04 AM   #5
mickeyboa
Senior Member
 
Registered: May 2004
Location: Indianapolis, Indiana
Distribution: FC-KDE, 32 and 64 bit
Posts: 1,398

Original Poster
Rep: Reputation: 55
$ systemctl status sshd.service
sshd.service - OpenSSH server daemon
Loaded: loaded (/usr/lib/systemd/system/sshd.service; disabled)
Active: inactive (dead)
CGroup: name=systemd:/system/sshd.service
 
Old 08-04-2012, 01:51 PM   #6
SharpyWarpy
Member
 
Registered: Feb 2003
Location: Florida
Distribution: Fedora 18
Posts: 862

Rep: Reputation: 90
Okay run
systemctl enable sshd.service
then
systemctl start sshd.service
Then run
systemctl status sshd.service
and post the output. If everything goes well you should have ssh services every time you boot from now on. Actually all this can be done with a GUI program, I think through the firewall configuration. But just try the above first since it will use the appropriate firewall ports.
 
1 members found this post helpful.
Old 08-04-2012, 06:34 PM   #7
mickeyboa
Senior Member
 
Registered: May 2004
Location: Indianapolis, Indiana
Distribution: FC-KDE, 32 and 64 bit
Posts: 1,398

Original Poster
Rep: Reputation: 55
]# systemctl status sshd.service
sshd.service - OpenSSH server daemon
Loaded: loaded (/usr/lib/systemd/system/sshd.service; enabled)
Active: active (running) since Sat, 04 Aug 2012 19:31:59 -0400; 29s ago
Process: 8100 ExecStartPre=/usr/sbin/sshd-keygen (code=exited, status=0/SUCCESS)
Main PID: 8124 (sshd)
CGroup: name=systemd:/system/sshd.service
└ 8124 /usr/sbin/sshd -D

Aug 04 19:31:59 BigOne sshd-keygen[8100]: Generating SSH2 RSA host key: [ OK ]
Aug 04 19:31:59 BigOne sshd-keygen[8100]: Generating SSH1 RSA host key: [ OK ]
Aug 04 19:31:59 BigOne sshd[8124]: Server listening on 0.0.0.0 port 22.
Aug 04 19:31:59 BigOne sshd[8124]: Server listening on :: port 22.
 
Old 08-04-2012, 08:32 PM   #8
SharpyWarpy
Member
 
Registered: Feb 2003
Location: Florida
Distribution: Fedora 18
Posts: 862

Rep: Reputation: 90
Well good, you got it running. Congrats. :*)
 
Old 08-05-2012, 11:24 AM   #9
SharpyWarpy
Member
 
Registered: Feb 2003
Location: Florida
Distribution: Fedora 18
Posts: 862

Rep: Reputation: 90
You might want to mark your thread as "Solved" for the benefit of other users. You can do so at the top of the page, just click on "Solved".
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Whereis yogaboy2 Linux - Newbie 6 09-07-2009 08:01 PM
'Whereis' output Ander Linux - Newbie 3 05-05-2006 05:18 AM
using $PATH with whereis shanenin Programming 5 09-16-2005 09:28 AM
whereis Realplayer? mohapi Fedora 8 06-12-2004 02:00 PM
help : whereis mkinitrd? marsques Slackware 6 05-23-2004 03:52 PM


All times are GMT -5. The time now is 02:49 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration