Connecting to Linux via SSH

Joined
Nov 15, 2007
Messages
20
Reaction score
0
Points
1
Hello everyone,

first of all I hope to be posting on the right section. now...I recently got my first MacBook with Tiger. I am trying to connect to a remote server via SSH through a wireless connection and I am trying to use MacFusion and i get the following error:

MacFusion Core: Untested MacFuse version 1.1.0 detected, not warning user
MacFusion Core: Loaded FTPFS filesystem from org.mgorbach.MacFusion.FTPFS
MacFusion Core: Loaded SSHFS filesystem from org.mgorbach.MacFusion.SSHFS
Manchester: remote host has disconnected
Manchester: Mount Failed

when I was on windows I never had any problem using WINSCP to connect to the same server.

thanks for any help
Fabio
 
Joined
Jun 15, 2006
Messages
87
Reaction score
3
Points
8
Not sure what Macfusion is, but ssh'ing to a remote system should not be a trivial thing to do. Simply type in the terminal "ssh username@IPAD or domain name". If your wanting to X11 forward then ssh -X username@IPAD or dmain name".

For a Mac you should allow port 22 through the firewall if it's not already enabled. That's should be it...
 
OP
M
Joined
Nov 15, 2007
Messages
20
Reaction score
0
Points
1
Thanks guys for your help, I will try and post results.

jaynorris, you mean i should allow port 22 on the wireless router or on the mac firewall?

cheers
 
Joined
Jun 15, 2006
Messages
87
Reaction score
3
Points
8
Thanks guys for your help, I will try and post results.

jaynorris, you mean i should allow port 22 on the wireless router or on the mac firewall?

cheers


If the system your trying to reach is outside your router then yes. Enable 22 on the router to forward to your system/IPAD. Obviously if inside your private netword you'll want to make sure the systems are accepting port 22 request.
 
OP
M
Joined
Nov 15, 2007
Messages
20
Reaction score
0
Points
1
I opened the 22 on the router TCP/UDP then run the what you suggested.

fabio-geracis-computer:~ fabiogeraci$ ssh -X [email protected]
ssh_exchange_identification: Connection closed by remote host

then i reboot the router and

fabio-geracis-computer:~ fabiogeraci$ ssh -X [email protected]
ssh: connect to host 130.88.106.117 port 22: No route to host

any idea
 
Joined
Jun 15, 2006
Messages
87
Reaction score
3
Points
8
Hope you don't mind, but I did a port scan of the device:

Appleseed:~ jnorris$ nmap -P0 -p22 130.88.106.117

Starting Nmap 4.20 ( http://insecure.org ) at 2007-12-20 21:09 EST
Interesting ports on mace-r-mbgnfam2.mace.manchester.ac.uk (130.88.106.117):
PORT STATE SERVICE
22/tcp open ssh <---- IT's open - good!

Nmap finished: 1 IP address (1 host up) scanned in 0.097 seconds
Appleseed:~ jnorris$ ssh 130.88.106.117
ssh_exchange_identification: Connection closed by remote host
Appleseed:~ jnorris$ ssh [email protected]
ssh_exchange_identification: Connection closed by remote host


From what I can tell is the user account does not exist on the machine. Therefore if you try to connect it will respond with "Connection closed by remote host". Without knowing how the server is configured I can't give a 100% answer. It would appear though this is a account Access Control List issue - not so much a router or firewall issue anymore. Allow IP and Allow username may need to be in order. Still it's a good idea to have port 22 open for SSH, otherwise you won't be able to access the device.

What router do you have? Cisco you can just go Enable, and sh route... You might have to enable a route, but highly unlikely for home use.

route destination IPAD Subnet destination Gateway IPAD

Lastly, SSH does not use UDP, just TCP.

Good luck!

-Jay
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top