You are not logged in.
http://home.comcast.net/~pudges-place/s … page1.html
Is a very good guide to setting up ssh/sshfs under Arch
http://wiki.archlinux.org/index.php/SSH
http://wiki.archlinux.org/index.php/Sshfs
Last edited by Mr Green (2007-11-07 21:04:49)
Mr Green
Offline
Are you trying to ssh from your desktop to your laptop. Or from your laptop to your desktop? And did you edit the /etc/hosts.allow of the computer you are ssh-ing to, or that you are ssh-ing from? I get a little confused reading your post
Offline
OK....
Trying to ssh from Laptop to Desktop have edited hosts.allow on Desktop.... as above
This thing is freaking me out.... do I need to port forward on local network [I think no!]
I run dhcp on both machines so maybe that the problem [maybe need to set up as a static ip!]
As I say guides are simple to follow I just maybe doing or set up something wrong
Mr Green
Offline
Your ssh client is trying to connect to port 9643. Have you changed the configuration of the ssh server to listen on port 9643?
Offline
yes I have ... but I was told/read you do not need to port forward?
Mr Green
Offline
Port forwarding is telling your router to send incoming packages on a specific port directly to a machine in the lan, you don't need that when you are only working inside your lan. You do have to make sure that you connect with your ssh client to the port on which the ssh server is listening.
So the port specified in ssh_config on the laptop needs to be the same as the one specified in sshd_config on the desktop.
Offline
A word of advice.
You do need to change the port the SSH server runs on. Not just change the port your client connects to .
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline
emmm me thinks I messed up port on lappy is 22 ... Desktop is 9643 ... thats what I read to change port...
Is there a way of testing server other than ssh -v?
/me runs to change port....
Ok still getting connection refused ;-(
Last edited by Mr Green (2007-11-04 18:34:05)
Mr Green
Offline
Like Crazy man.....ssh in 192.168.0.2 and I was able to log in WOW! .... why? how? yippe!
Mr Green
Offline
You mean you got the wrong IP?
Offline
no idea ... set everything for 192.168.0.3 ?????
Thanks guys for all your help
I'm off to listen to Death Metal on my Laptop
EDIT .... fusermount -u <local_mount_point> is coming up device busy emmm
Last edited by Mr Green (2007-11-04 19:24:04)
Mr Green
Offline
Just FYI, since you'll probably run into IP problems due to using DHCP, instead of using a specific IP you can use a whole range: sshd: 192.168.0.0/255.255.255.0
Offline
Desktop [Arch!] runs dhcp for net
Laptop is dhcp for web ..
There is very good guide on setting up sshfs on Arch but it used static ip which is fine, so followed most of it
I will try sshd: line only It would be easier to use a machine name instead of having to type ip each time
Mr Green
Offline
Forum hint: for future reference, marking your topic 'solved' is good, but changing the topic completely is not, as it will no longer be found by people with similar problems when they search the forum. Similarly, rewriting your first post so that it no longer describes your problem removes the basic context for everything else in the thread.
Offline
Well I was only trying to help... pointing out guides .. etc..
/me slapped wrist
I will delete my last post .. and re edit first one
Mr Green
Offline