Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Networking & Security
  • Search

Strange sshd issue

Having problems getting connected to the internet or running a server? Wondering about securing your box? Ask here.
Post Reply
Advanced search
2 posts • Page 1 of 1
Author
Message
Remillard
Apprentice
Apprentice
User avatar
Posts: 200
Joined: Fri Mar 07, 2003 6:42 pm
Location: Irvine, CA
Contact:
Contact Remillard
Website

Strange sshd issue

  • Quote

Post by Remillard » Mon Feb 16, 2004 5:01 pm

Howdy,

I've got a strange little issue with sshd that I'm hoping someone will see and say a-ha! to. (Hopefully meaning having seen this before rather than anything else...)

Home LAN setup. Netgear router. I have ssh port forwarded to my gentoo box.

In my account (Window manager Openbox, Aterm terminal) I su to root. I start sshd ($> sshd). In another terminal, I ssh OUT to Host A. From Host A I ssh INTO my box, and I can log in. Everything is peachy.

I exit from root. I exit from Openbox and leave it at a login prompt (not using a *dm yet).

Elsewhere in the world (read: work) I try to ssh into my machine. It times out. I ssh into Host A. From Host A I try to ssh into my machine again (where I was previously successful). I get another failure.

Is there some reason that sshd once started would shut down all on it's own? Is there some reason that a ssh OUT and then IN would be more successful than just an OUT?

This all strikes me as very strange. The only thing I did not do was start sshd from the /etc/rc source, but I have done the rc-update add sshd default, just haven't rebooted since then.

Regards,
Remillard
This signature is printed with 100% post-consumer recycled electrons.
Top
Gwyd10n
n00b
n00b
User avatar
Posts: 41
Joined: Mon Jun 09, 2003 3:22 pm
Location: Long Beach

  • Quote

Post by Gwyd10n » Mon Feb 16, 2004 5:33 pm

I think it is how you started sshd which is the issue here. Now I could be wrong in how I read your post but try this.

Code: Select all

su -
/etc/init.d/sshd start
exit
Doing it this way insures all the proper checks are done and is also the way sshd is called upon boot.
Hope this helps.
Top
Post Reply

2 posts • Page 1 of 1

Return to “Networking & Security”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic