LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Remote SSH (https://www.linuxquestions.org/questions/linux-newbie-8/remote-ssh-323308/)

Kurzweil 05-13-2005 11:31 PM

Alright. Will I not be able to test this until I am off of my LAN? I'll have to be at work?

Matir 05-13-2005 11:34 PM

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).

Kurzweil 05-13-2005 11:37 PM

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.

Kurzweil 05-14-2005 12:03 AM

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?

danielanson 05-14-2005 12:10 AM

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?

Kurzweil 05-14-2005 12:13 AM

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..

Kurzweil 05-14-2005 12:23 AM

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?

danielanson 05-14-2005 12:30 AM

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 :)

Kurzweil 05-14-2005 12:41 AM

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. :(


All times are GMT -5. The time now is 05:58 PM.