Networking :: basic network help



I don't have a DSL box around right now, so the following may not apply. You have to have an ssh daemon running on the box you want to access - you can check it with "ps -ef|grep sshd" (run it without quotes). If it's not running I think you have to start it with "sshd &" as root. To use X programs on the remote box locally, you can start ssh like this: ssh -X username@ip.adress.remote.box
Thanks Skaos, i tried as you said but got the following error:

could not load host key: /etc/ssh/ssh_host_key
                                /etc//ssh/ssh_host_rsa_key
                                /etc/ssh/ssh_host_dsa_key
no host keys available--exiting

I checked the directory and those files are not there, does anyone know why not or what i need to do to get them there or work around them.
Thanks, Hiro.

I have managed to find some info on the web which indicates that i need to modify the /etc/hosts.deny file. This file does exist however, even though i cxan open it and read it i get told i don't have permission to alter it even when logged on as root. Does anyone know if i need to modify this file and if so how do i do it?
Many thanks, Hiro.

At last i finally have it. Just in case anyone is interested, if i tried to start sshd from the cli (sshd &) i got the error i posted two posts ago about not finding the keys.
However if i started sshd from the dsl control panel these files suddenly appeared! I suppose they are automatically created when sshd is started this way?
Unfortunately the system now seems unable to connect to the net using my router something that it did before!
Life may be easy but linux doesn't seem to be!
Thanks for you help, Hiro.

You might have to add a default gateway and even the DNS nameserver if you are using a static IP on your DSL install

SSH is a Secure version if telnet...well kinda

I believe you can autostart the ssh server by adding
/etc/init.d/ssh start it might be sshd too (just look in the dir for the correct filename)
to your /opt/bootlocal.sh file (I just dont know how to tell it to not keep re-generating the dang ssh keys (which takes like 30-45 seconds on a 133Mhz machine!)

VNC will allow you to actually run a desktop from one to the other

Its good to see someone who is actually self teaching themselves and then reporting what they find..most people just get stumped and then start posting!

GREAT JOB!!!

and

Welcome to the Revolution!!!

Brian
AwPhuch

Next Page...
original here.