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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
04-12-2009, 03:45 AM
|
#1
|
Member
Registered: Dec 2005
Distribution: Debian KDE / Fluxbox
Posts: 222
Rep:
|
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?
|
|
|
04-12-2009, 03:50 AM
|
#2
|
LQ 5k Club
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529
|
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
|
|
|
04-12-2009, 05:22 AM
|
#3
|
Member
Registered: Dec 2005
Distribution: Debian KDE / Fluxbox
Posts: 222
Original Poster
Rep:
|
Quote:
Originally Posted by repo
install rcconf
|
Curious, is the rcconf similar (or the same) as sysv-rc-conf
|
|
|
04-12-2009, 05:32 AM
|
#4
|
Member
Registered: Jul 2006
Distribution: Debian, Ubuntu, openSUSE, CentOS
Posts: 147
Rep:
|
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.
|
|
|
04-12-2009, 06:41 AM
|
#5
|
Senior Member
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824
|
Quote:
how to confirm if ssh is already running?
|
Code:
ps -ef | grep ssh
netstat -anp | grep ssh
|
|
|
04-12-2009, 08:24 PM
|
#6
|
LQ Newbie
Registered: Apr 2009
Posts: 13
Rep:
|
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.
|
|
|
04-13-2009, 04:59 AM
|
#7
|
LQ 5k Club
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529
|
Quote:
ssh uses ports 22 TCP, 22 UDP.
|
AFAIK ssh only uses port 22 TCP
However, you can tunnel UDP traffic true SSH
|
|
|
04-15-2009, 09:28 PM
|
#8
|
LQ Newbie
Registered: Apr 2009
Posts: 13
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 05:26 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|