LinuxQuestions.org
Visit Jeremy's Blog.
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 05-13-2005, 11:31 PM   #16
Kurzweil
LQ Newbie
 
Registered: Dec 2003
Distribution: Fedora Core 2
Posts: 21

Original Poster
Rep: Reputation: 15

Alright. Will I not be able to test this until I am off of my LAN? I'll have to be at work?
 
Old 05-13-2005, 11:34 PM   #17
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Unfortunately, by the nature of portforwarding, it doesn't work from internal->external->internal.

FYI, There is no need to perform kill -9 on SSHD. 'kill -HUP' will force SSHD to reread it's config file. Also, most distributions will allow you to do /etc/init.d/ssh restart (or /etc/init.d/sshd, depending on distro).
 
Old 05-13-2005, 11:37 PM   #18
Kurzweil
LQ Newbie
 
Registered: Dec 2003
Distribution: Fedora Core 2
Posts: 21

Original Poster
Rep: Reputation: 15
Thanks for all the help you two. I'll do my best. Hopfully it will work tomorrow because I can't test it any other way.
 
Old 05-14-2005, 12:03 AM   #19
Kurzweil
LQ Newbie
 
Registered: Dec 2003
Distribution: Fedora Core 2
Posts: 21

Original Poster
Rep: Reputation: 15
Ooh. I made progress. I had a freind help me test and it askes for the user name then password then it says connection closed by remote host once the password is entered correctly. Is that a simple setup error that could be fixed by you linux gods really fast?
 
Old 05-14-2005, 12:10 AM   #20
danielanson
Member
 
Registered: May 2005
Location: San Antonio, TX
Distribution: OpenBSD 3.7
Posts: 76

Rep: Reputation: 15
Sounds like a router config problem to me. It sounds as if the daemon is responding. Are you using iptables on the Linux box and if so they must be configured as well?
 
Old 05-14-2005, 12:13 AM   #21
Kurzweil
LQ Newbie
 
Registered: Dec 2003
Distribution: Fedora Core 2
Posts: 21

Original Poster
Rep: Reputation: 15
This will probably make you want to give up on me but I don't know what you're talking about.. I just installed Fedorda again for the first time in a while 2 days ago..
 
Old 05-14-2005, 12:23 AM   #22
Kurzweil
LQ Newbie
 
Registered: Dec 2003
Distribution: Fedora Core 2
Posts: 21

Original Poster
Rep: Reputation: 15
I think its just a permission problem. Logging in as root work. (I know you're going to kill me for allowing that) but it does work. Where do I allow ssh to others?
 
Old 05-14-2005, 12:30 AM   #23
danielanson
Member
 
Registered: May 2005
Location: San Antonio, TX
Distribution: OpenBSD 3.7
Posts: 76

Rep: Reputation: 15
do a >locate sshd_config or a >find / -name sshd_config -print and if there is no file ......

make sure and do a >man sshd and your problems will be revealed( this step is a must ).

As well, do a >man iptables.

I'm going out for a beer. If you havent figured this out in a few hours, I'll be back.

Best of Luck,

Daniel
 
Old 05-14-2005, 12:41 AM   #24
Kurzweil
LQ Newbie
 
Registered: Dec 2003
Distribution: Fedora Core 2
Posts: 21

Original Poster
Rep: Reputation: 15
Yeah, I can't figure it out. I can only log in as root but nothing else. I was trying to set it up so a me and a friend could both be in but no luck I guess.
 
  


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
Can't SSH to remote machine: Connection closed by remote host Avatar Linux - Networking 35 10-23-2017 12:21 AM
remote ssh jonfa Linux - General 3 02-10-2005 09:35 PM
remote ssh help pasalacqua128 Linux - Software 4 05-29-2004 10:39 AM
Remote X over SSH ktambascio Linux - Software 1 05-27-2004 07:52 AM
Remote with ssh DaFrEQ Linux - General 5 12-04-2002 10:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:27 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