You are not logged in.

#1 2007-11-04 14:32:03

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,896
Website

[Solved!] ssh & sshfs problems guides and links enclosed

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

#2 2007-11-04 16:22:58

codemac
Member
From: Cliche Tech Place
Registered: 2005-05-13
Posts: 794
Website

Re: [Solved!] ssh & sshfs problems guides and links enclosed

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 sad

Offline

#3 2007-11-04 16:36:31

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,896
Website

Re: [Solved!] ssh & sshfs problems guides and links enclosed

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

#4 2007-11-04 17:50:17

tam1138
Member
Registered: 2007-09-10
Posts: 238

Re: [Solved!] ssh & sshfs problems guides and links enclosed

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

#5 2007-11-04 18:00:49

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,896
Website

Re: [Solved!] ssh & sshfs problems guides and links enclosed

yes I have ... but I was told/read you do not need to port forward?


Mr Green

Offline

#6 2007-11-04 18:09:55

Ramses de Norre
Member
From: Leuven - Belgium
Registered: 2007-03-27
Posts: 1,289

Re: [Solved!] ssh & sshfs problems guides and links enclosed

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

#7 2007-11-04 18:13:19

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: [Solved!] ssh & sshfs problems guides and links enclosed

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


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#8 2007-11-04 18:27:06

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,896
Website

Re: [Solved!] ssh & sshfs problems guides and links enclosed

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

#9 2007-11-04 18:59:34

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,896
Website

Re: [Solved!] ssh & sshfs problems guides and links enclosed

Like Crazy man.....ssh in 192.168.0.2 and I was able to log in WOW! .... why? how? yippe!


Mr Green

Offline

#10 2007-11-04 19:15:11

Ramses de Norre
Member
From: Leuven - Belgium
Registered: 2007-03-27
Posts: 1,289

Re: [Solved!] ssh & sshfs problems guides and links enclosed

You mean you got the wrong IP?

Offline

#11 2007-11-04 19:23:22

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,896
Website

Re: [Solved!] ssh & sshfs problems guides and links enclosed

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

#12 2007-11-05 03:58:40

Xilon
Member
Registered: 2007-01-01
Posts: 243

Re: [Solved!] ssh & sshfs problems guides and links enclosed

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

#13 2007-11-05 07:00:04

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,896
Website

Re: [Solved!] ssh & sshfs problems guides and links enclosed

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

#14 2007-11-07 20:53:37

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [Solved!] ssh & sshfs problems guides and links enclosed

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

#15 2007-11-07 21:02:43

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,896
Website

Re: [Solved!] ssh & sshfs problems guides and links enclosed

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

Board footer

Powered by FluxBB