Okay, I got my linux routing box working, and my lan set up. I don't have a KVM switch, nor do I have a spare monitor for the linux router, so I want to be able to log in via ssh in order to make any changes that I need.
I've set iptables to open the ssh port, and have ssh installed on my linux box. I have the client installed on this computer (windows XP), but cannot maintain a connection. I've set up an authorized_keys file in /home/silverpig/.ssh/ on my linux box, but every piece of documentation I can find says to copy that file to my home directory in my client computer (usually /home/silverpig/.ssh/) but, I'm running windows, so where do I put that file?
you mean you just want to connect LOCALLY? i.e. from the pc next to it? if so, just telnet in!, may have to enable telnet on the router, then just open telnet on the box behind the router/firewall and telnet in there.
If they squeeze olives to get olive oil, how do they get baby oil?
Okay, I've found that I can set up telnet and SSH properly, because I used the linux routing box to log in to my other box (running linux in a linux/XP dual boot) via both SSH and telnet with no problems. However, when I try going the other way (ie from the XP/linux box to the linux router box) with either telnet or SSH, I get a "connection closed by foreign/remote host"
So it must be a firewall setting right?
I've added the lines opening port 22 (SSH) and port 23 (telnet) on the router, but something's still wrong.
Okay, I'm gonna admit something here... I wanted to stick with iptables and config files, but I was too frustrated, so I went with the mandrake configuration programs. I know, I took the easy way, but now I've got everything set up. DHCP, firewalling, SSH with no telnet (telnet = bad), connection sharing...
glad you sorted it, Imnot sure about ipTABLES but ipCHAINS I would have also masqd it, I have very similar probs with port 80 forwarding to a 2k box and it just WOULDNT work even though i idid it exactly the same as I did for ftp and telnet ports, in the end I also "chickened out", I installed <A HREF="http://www.freesco.org" target="_new">freesco</A> !
If they squeeze olives to get olive oil, how do they get baby oil?
Yeah, it works now. Everything's cool... 'cept enlightenment messed up on me for some reason. It's never happened before. It's okay though, I'm thinking of going with more of a "real" distro soon anyways. I like rpms so I'll probably go for redhat...
You are about to answer a thread that has been inactive for more than 6 months. If you still wish to proceed, please ensure that your posting is original and does not duplicate or overlap any prior responses to this thread.