LinuxQuestions.org
Latest LQ Deal: Linux Power User 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 05-14-2005, 12:31 AM   #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-14-2005, 12:34 AM   #17
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 123Reputation: 123
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-14-2005, 12:37 AM   #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, 01: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, 01: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, 01: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, 01: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, 01: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, 01: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 34 05-24-2013 10:28 AM
remote ssh jonfa Linux - General 3 02-10-2005 10:35 PM
remote ssh help pasalacqua128 Linux - Software 4 05-29-2004 11:39 AM
Remote X over SSH ktambascio Linux - Software 1 05-27-2004 08:52 AM
Remote with ssh DaFrEQ Linux - General 5 12-04-2002 11:17 PM


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