Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ 1 [2] >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: basic network help, getting two dsl boxes linked< Next Oldest | Next Newest >
skaos Offline





Group: Members
Posts: 430
Joined: April 2004
Posted: Oct. 16 2005,15:20 QUOTE

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
Back to top
Profile PM 
hiro protaganist Offline





Group: Members
Posts: 10
Joined: Oct. 2005
Posted: Oct. 18 2005,10:03 QUOTE

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.
Back to top
Profile PM 
hiro protaganist Offline





Group: Members
Posts: 10
Joined: Oct. 2005
Posted: Oct. 19 2005,07:20 QUOTE

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.
Back to top
Profile PM 
hiro protaganist Offline





Group: Members
Posts: 10
Joined: Oct. 2005
Posted: Oct. 21 2005,14:34 QUOTE

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.
Back to top
Profile PM 
AwPhuch Offline





Group: Members
Posts: 1404
Joined: April 2004
Posted: Oct. 21 2005,16:06 QUOTE

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


--------------
http://www.frappr.com/dsl <-- Where do you use DSL?
http://www.smoothwall.org <-- Ultimate firewall for the world!
http://boinc.mundayweb.com/one/stats.php/userID:6107 <--My BOINC stats!
./S99LinuxRevolution start
Back to top
Profile PM WEB 
9 replies since Oct. 15 2005,09:47 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ 1 [2] >/
reply to topic new topic new poll
Quick Reply: basic network help

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code