LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 08-19-2003, 07:43 AM   #1
donk3
LQ Newbie
 
Registered: Aug 2003
Location: VA
Distribution: Red Hat, SuSE, slackware, Fedora, FreeBSD
Posts: 12

Rep: Reputation: 0
Talking Can't ssh into my box from work.


I keep receiving error "ssh: connect to address "my IP" port 22: Connection refused". I was able to log into my box Saturday from work. I do have my firewall on high, but it has been that way since I installed red hat 9 (3 months ago). My nmap tool from home does show that I have port 22 open. Is there a option in the etc/rc.d/init.d to start the daemon? What did or am I doing wrong?
 
Old 08-19-2003, 12:37 PM   #2
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
Open a terminal window.
For this you will have to be root, type the following and enter your root password:
Code:
su -
To start SSHd, type:
Code:
service sshd start
If you want SSHd to start when the system is booted, type:
Code:
chkconfig --level 35 sshd on
 
Old 08-19-2003, 02:12 PM   #3
donk3
LQ Newbie
 
Registered: Aug 2003
Location: VA
Distribution: Red Hat, SuSE, slackware, Fedora, FreeBSD
Posts: 12

Original Poster
Rep: Reputation: 0
Thanks Mathieu

I will definitely try that when I get home.
 
Old 08-27-2003, 07:54 AM   #4
donk3
LQ Newbie
 
Registered: Aug 2003
Location: VA
Distribution: Red Hat, SuSE, slackware, Fedora, FreeBSD
Posts: 12

Original Poster
Rep: Reputation: 0
Hello again,

I resolved it! I looked in "lokkit" a while back & did look in the customize option. I didn't make no changes, but when I go in there it disables FTP, SMTP, SSH, etc by default.
 
  


Reply



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
Understanding SSH (Sun box to Linux box) oswald21 Linux - Newbie 2 07-08-2006 02:06 PM
cannot ssh to home linux box from work gene_albin Linux - Networking 4 11-20-2004 07:26 AM
Connect to work box from home box slackist Linux - Networking 4 09-18-2004 05:34 AM
ssh to my box spuppett Linux - Networking 23 05-18-2004 06:11 PM
can't ssh to the box but everyone else can wisdm Linux - Networking 1 01-17-2004 01:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 05:33 AM.

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