LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-12-2009, 03:45 AM   #1
michalng
Member
 
Registered: Dec 2005
Distribution: Debian KDE / Fluxbox
Posts: 222

Rep: Reputation: 46
openssh - how to confirm if it is running


Still googling/reading about openssh and decided to give it a try and wanted to be sure that my computer is safe while I am still reading/learning.


Installed openssh in Debian Testing -

- will ssh start upon boot up?
- how to disable ssh starting up upon boot up?
- how to confirm if ssh is already running?
 
Old 04-12-2009, 03:50 AM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Quote:
will ssh start upon boot up?
yes
Quote:
how to disable ssh starting up upon boot up?
install rcconf
Quote:
how to confirm if ssh is already running?
ps ax | grep ssh
 
Old 04-12-2009, 05:22 AM   #3
michalng
Member
 
Registered: Dec 2005
Distribution: Debian KDE / Fluxbox
Posts: 222

Original Poster
Rep: Reputation: 46
Quote:
Originally Posted by repo View Post
install rcconf

Curious, is the rcconf similar (or the same) as sysv-rc-conf
 
Old 04-12-2009, 05:32 AM   #4
rizwanrafique
Member
 
Registered: Jul 2006
Distribution: Debian, Ubuntu, openSUSE, CentOS
Posts: 147

Rep: Reputation: 19
rcconf is a user interface to update-rc.d. It just provides an ncurses based interface where you can add/remove startup scripts for services. Suitable in default debian/Ubuntu behaviour where the system starts in runlevel 2 with everything up and running.

sysv-rc-conf is more flexible that lets you configure and modify all runlevels by defining which services to start in what runlevel.
 
Old 04-12-2009, 06:41 AM   #5
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Quote:
how to confirm if ssh is already running?
Code:
ps -ef | grep ssh
netstat -anp | grep ssh
 
Old 04-12-2009, 08:24 PM   #6
505
LQ Newbie
 
Registered: Apr 2009
Posts: 13

Rep: Reputation: 1
SSH on startup

If you are running a fedora Core system you
can su- to root then type:
system-config-services<enter>

or press the K button, press system, press services.
here you can turn ssh on or off at boot time. Remember
ssh uses ports 22 TCP, 22 UDP. Make sure these are open
on your firewall. ALSO make sure ssh is securely
configured SSH or the Secure shell is not secure at all
if you are careless about the configuration files. Make
sure you "bind" it to the proper Interfaces.
 
Old 04-13-2009, 04:59 AM   #7
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Quote:
ssh uses ports 22 TCP, 22 UDP.
AFAIK ssh only uses port 22 TCP
However, you can tunnel UDP traffic true SSH
 
Old 04-15-2009, 09:28 PM   #8
505
LQ Newbie
 
Registered: Apr 2009
Posts: 13

Rep: Reputation: 1
Ports

I stand partially corrected.
I looked in /etc/services. It listed Port 22
TCP, and UDP. In the spirit of precision I passed
this information along.

I use ssh on my RH9 RAID fileserver. In practice
I have never used port 22 UDP. This same server
uses Samba as well. I am occasionally guilty
of also using the GUI for file transfer between
the machines on my LAN.
 
  


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
Identify/Confirm Hardware r00ster Linux - Hardware 7 03-29-2009 09:38 AM
How to confirm if Guarddog is running -and - What is runlevel S lazylogic Linux - Software 8 08-04-2008 07:12 AM
error running rpmbuild -ta on cups source.tar.gz involving openssh? possible? Nahmus Linux - Software 6 04-14-2007 02:20 AM
how to confirm PSU status UltraSoul Linux - Hardware 2 09-18-2006 04:58 PM
can anyone confirm a dead motherboard Peacedog Linux - Hardware 5 07-25-2004 04:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:58 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration