LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-02-2008, 05:22 PM   #1
Spirals
LQ Newbie
 
Registered: Jun 2006
Posts: 29

Rep: Reputation: 15
Interaction between guarddog and ssh


I have guarddog running on two machines (Pene and laptop) conected by a 100Mb Hub. Both machines were installed from the same iso DVD and the oxford uk mirror. uname -a gives "Linux pene 2.6.18-6-k7 #1 SMP Sun Feb 10 22:16:15 UTC 2008 i686 GNU/Linux" I have now installed ssh and openssh-server. ssh -V gives "OpenSSH_4.3p2 Debian-9, OpenSSL 0.9.8c 05 Sep 2006". When I activate guarddog I do not see the lights on the hub flicker and I cannot log in or sftp files, which I can if I disable guarddog. advice to fix this please
 
Old 03-02-2008, 05:24 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
well guarddog is a firewall gui, so it's pretty obvious that it's blocking it. change the guarddog settings to not block ssh (port 22)
 
Old 03-03-2008, 09:58 AM   #3
Spirals
LQ Newbie
 
Registered: Jun 2006
Posts: 29

Original Poster
Rep: Reputation: 15
thanks fixed, but new problem

Hi, I had already ticked SSH-remote-login before I tried the list which I presumed would have done the trick. After your reply I created a new ssh entry under user protocols and now have local coms ok. thank you.


I am now trying to secure my email. I have a script secure-mail-link.sh the contents are:
"ssh -L 110:mail-host-path:110 -L 25:mail-host-path:25 -l user -N mail-host-path".
I run this in the background with a & but it times out after a few minutes.

My question is: how do I modify this script so the ssh-link invisibly comes up when I query the mail server or send email. So it is transparent and I can fire my script off when I log in and forget it? thanks again dja.
 
Old 03-03-2008, 10:36 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
you can't do that on demand. well you could in theory, you can trigger iptables to run a command as a target with a few non-mainline iptables targets but realistically it's not going to be fun and I really wouldn't see that as a desirable long term thing.
 
Old 03-03-2008, 06:29 PM   #5
Spirals
LQ Newbie
 
Registered: Jun 2006
Posts: 29

Original Poster
Rep: Reputation: 15
Thank you.

Thanks for your help.
 
  


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
remote login via ssh (without interaction) vdx Programming 6 09-27-2007 03:52 PM
Automated Interaction rubadub Programming 1 11-12-2006 07:51 AM
How do i configure guarddog so i can use SSH remotely and ping my box? asilentmurmur Slackware 5 08-03-2006 01:57 AM
python os interaction help JoeUser11 Programming 6 06-23-2005 12:46 AM
Guarddog/SSH Question bad_andy Linux - Security 10 01-29-2005 04:31 PM


All times are GMT -5. The time now is 10:27 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration