Re: ssh access

From: Kenneth A Kauffman (kkauffman_at_nospam.headfog.com)
Date: 05/26/03


Date: Mon, 26 May 2003 11:57:05 GMT


"Scott Blankenship" <sjblanky@yahoo.com> wrote in message
news:ZMeAa.16757$Io.1469046@newsread2.prod.itd.earthlink.net...
>
> "Scott Blankenship" <sjblanky@yahoo.com> wrote in message
> news:63206a4f.0305251745.31ee7514@posting.google.com...
> > here's my files:
> > ::::::::::::::
> > /etc/hosts.allow
> > ::::::::::::::
> > sshd:all
> >
> > ::::::::::::::
> > /etc/hosts.deny
> > ::::::::::::::
> > ALL:ALL EXCEPT 127.0.0.1:DENY
> >
> > ::::::::::::::
> > /etc/services
> > ::::::::::::::
> > ssh 22/tcp
> > ssh 22/udp
> >
> >
> > I have a linux box running mandrake 9.1, and I have a windows xp
> > machine, both on my home network (running through a router with
> > firewall).
> >
> > I've setup port forwarding for port 22.
> >
> > I can ssh to the linux box from my home pc, but not from work. I setup
> > an account for a friend, he can't get in either.
> >
> > We can both ftp from different places, ssh is not cooperating from
> > outside my firewall. Any thoughts?
> >
>
>
> Researching this, it appears as though how sshd gets started during bootup
> is an issue... Here's my ps:
>
> # ps -aef | grep ssh
> root 19543 1 0 May23 ? 00:00:00 /usr/sbin/sshd
> root 5644 19543 0 22:09 ? 00:00:00 /usr/sbin/sshd
> scott 32734 5644 0 22:10 ? 00:00:00 [sshd]
>
> So, does this mean sshd is ignoring my hosts.deny and hosts.allow files?
>
>

what is in your /var/log/secure file? the daemon is running. I'm assuming
that the port forwarding is in reference to your broadband routers "virtual
server" section.

ken k



Relevant Pages

  • Re: ssh attempts
    ... the excellent iptables firewall you probably already have on your system. ... consider changing the port SSH listens on. ... Login to account webmaster not allowed or account non-existent. ... Computer Emergency Response Teams, and Digital Investigations. ...
    (Security-Basics)
  • Re: possibly compromised redhat 7.2 box
    ... sshd is running on the server, the firewall port is open, etc. ... down my access to ssh. ... | PuTTY has been upgraded recently, ...
    (Security-Basics)
  • Re: [opensuse] accept ssh into boxen
    ... reloaded the firewall and started sshd. ... tks, I have fixed it, finally. ... Needed to set firewall to accept ssh ...
    (SuSE)
  • Re: Make sshd (Cygwin) bullet-proof?
    ... Firewall all the networks from which you expect no legitimate traffic. ... and are exposing only SSH through your firewall. ... That's a probe making the rounds. ... Another way to defeat that probe it is to have SSHD on a non-standard ...
    (comp.security.ssh)
  • Re: Using putty to debug ssh through a firewall
    ... So let me get this straight your pretty much running ssh and sshd on ... Your behind a firewall and your running an sshd on port 23 ... Home computer - sshd server on cygwin, ...
    (comp.security.ssh)