LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 04-25-2005, 08:27 AM   #1
tobycatlin
Member
 
Registered: Apr 2005
Location: Norwich, UK
Posts: 30

Rep: Reputation: 15
Starting ssh on fedora


hiya all

I am trying to connect to my Red Hat fedora box using the SSH client puTTy from windows. When i installed RedHat enterprise i banged the ip into putty and boom up it came. I guess i need to start a service under fedora to achive the same thing.

Can anyone point me in the right direction??

thanks
 
Old 04-25-2005, 10:06 AM   #2
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
# /etc/init.d/sshd start

and add sshd to the default runlevel so it starts up on boot:

# chkconfig sshd on
 
Old 04-25-2005, 10:27 AM   #3
jabfinger
Member
 
Registered: Jan 2004
Location: USA, Pa
Distribution: Gentoo, Fedora Core 3, Mepis, Vector
Posts: 83

Rep: Reputation: 15
To start a secure shell on fedora go to the applications menu "System Settings" then "Server Settings" then "Services" here you will see and be able to start/stop supported services. Start up sshd. Or in a terminal as root type "service sshd start".
 
Old 04-26-2005, 03:11 AM   #4
tobycatlin
Member
 
Registered: Apr 2005
Location: Norwich, UK
Posts: 30

Original Poster
Rep: Reputation: 15
Thanks guys. Do both those commands do the same thing? 'service sshd start' and '/etc/init.d/sshd start'

I have run both those commands and i still can't connect from my windows box. I am confident that ssh is running. So i guess that leaves the Firewall? I am sorry i am pretty new to linux. The firewall is IP tables right? i suppose i need to open up port 22?
 
Old 04-26-2005, 03:34 AM   #5
tobycatlin
Member
 
Registered: Apr 2005
Location: Norwich, UK
Posts: 30

Original Poster
Rep: Reputation: 15
The port was open on the firewall. A simple reboot has solved whatever the problem was.
Thanks guys.
On a totally different note is there and equivlent to windows ctrl+alt+del? The reason i rebooted is becuase a application crashed and i could get out of it.
 
Old 05-13-2005, 07:52 AM   #6
jabfinger
Member
 
Registered: Jan 2004
Location: USA, Pa
Distribution: Gentoo, Fedora Core 3, Mepis, Vector
Posts: 83

Rep: Reputation: 15
the combination of the "ps ax" command (to find the process id number of the crashded process) then the "kill process id#" (replace process id with actual pid number) will shut down a crashed process. you may need to "kill -9 process id#" if "kill" by itself does not work.
 
  


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
ssh-agent is starting? Vgui Slackware 3 10-21-2005 09:30 PM
ssh is not starting!!! jsheffie Solaris / OpenSolaris 6 08-19-2005 02:02 PM
Starting SSH problem satimis Linux - Software 4 10-28-2003 09:04 PM
starting X through ssh msound Linux - General 15 06-25-2003 12:30 AM
Starting SSH Server cli_man Linux - Software 3 04-10-2002 10:09 PM


All times are GMT -5. The time now is 11:35 PM.

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