You are not logged in.

#1 2004-11-08 18:45:00

ame
Member
Registered: 2004-09-10
Posts: 22

macintosh to archmachine

well i am not able to ssh/scp from my mac to my archbox. vice versa it works wonderful. i edited all those files hosts, .deny, .allow, ... nothing is working. i think i need some help here. my mac is unix based so there should not be a problem like this. i also would like to connect to my archbox in my finder. does anybody know how to do that? i do not find any good instructions in the net. and i d like to connect them via telnet. that does not work either. yea and sending small messages between them would be nice too. i ve installed all those little tools but the networking does not work. is there a good tutorial anywhere?
kaname

Offline

#2 2004-11-08 18:48:36

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: macintosh to archmachine

do you have sshd running on the arch box?
post your hosts.allow, hosts.deny and /etc/ssh/sshd_config files here, and I'll look at it.

I am not sure what you mean "I would like to connect in my finder" - is this a Mac thing?  If so, find out what protocol it uses.... I'd say maybe try installing samba.

Offline

#3 2004-11-08 19:53:41

sarah31
Member
From: Middle of Canada
Registered: 2002-08-20
Posts: 2,975
Website

Re: macintosh to archmachine

first you have to have your mac set up to connect (or be connected to) remotely. this can be done in the network section of your control panel.
this will both properly enable ssh/telnet and open the necessary ports.

then on your arch box you need to have it set up to share through your hosts.allow/deny files.

how you are connecting your machines could make a difference too. I have to use a few different set-ups on my mac network depending on wheter or not i am connected directly to my arch box or going through my internal network.


AKA uknowme

I am not your friend

Offline

#4 2004-11-08 22:01:38

ame
Member
Registered: 2004-09-10
Posts: 22

Re: macintosh to archmachine

well thanks for your quick answers. i ve installed the sshd and i configured my mac. the finder is the filesystem browser on macs. so remember: from my archbox i can reach the mac but not vice versa. that s what bothering me! here are my configs:
hosts:
127.0.0.1        localhost.localdomain    localhost
192.168.2.100        localhost.localdomain   landgraf   <== this is my archmachine   
192.168.2.101        localhost.localdomain    baron       <== this is my mac
192.168.2.103        localhost.localdomain    herzog      <== this is my friend using winxp. yuk!
hosts.allow:
ALL : 127.0.0.1
#Allow baron
ALL : 192.168.2.101
#Allow ssh
sshd: ALL
hosts.deny:
ALL : EXCEPT sshd
sshd : ALL EXCEPT 192.168.2.101
sshd_config:
#Port 22
#Protocol 2,1
ListenAddress 0.0.0.0
#ListenAddress ::

# HostKey for protocol version 1
#HostKey /etc/ssh/ssh_host_key
# HostKeys for protocol version 2
#HostKey /etc/ssh/ssh_host_rsa_key
#HostKey /etc/ssh/ssh_host_dsa_key

# Lifetime and size of ephemeral version 1 server key
#KeyRegenerationInterval 1h
#ServerKeyBits 768

# Logging
#obsoletes QuietMode and FascistLogging
#SyslogFacility AUTH
#LogLevel INFO

# Authentication:

#LoginGraceTime 2m
#PermitRootLogin yes
#StrictModes yes
#MaxAuthTries 6

#RSAAuthentication yes
#PubkeyAuthentication yes
#AuthorizedKeysFile    .ssh/authorized_keys

# For this to work you will also need host keys in /etc/ssh/ssh_known_hosts
#RhostsRSAAuthentication no
# similar for protocol version 2
#HostbasedAuthentication no
# Change to yes if you don't trust ~/.ssh/known_hosts for
# RhostsRSAAuthentication and HostbasedAuthentication
#IgnoreUserKnownHosts no
# Don't read the user's ~/.rhosts and ~/.shosts files
#IgnoreRhosts yes
i did not edit anything here!
hope somebody can help. i remember when i tried suse a year a go it worked beautiful in both directions!
kaname

Offline

#5 2004-11-08 22:08:17

ame
Member
Registered: 2004-09-10
Posts: 22

Re: macintosh to archmachine

i forgot:
when i try to connect from my mac the system tells me:
ssh: connect to host 192.168.2.100 port 22: connection refused
damn.

Offline

#6 2004-11-08 22:53:08

khazdar
Member
From: ohio
Registered: 2003-11-06
Posts: 123

Re: macintosh to archmachine

Try doing this:

#
# /etc/hosts.allow
#

sshd: 192.0.0.0/24
xvnc: 192.0.0.0/24

# End of file
#
# /etc/hosts.deny
#

ALL: DENY

# End of file

Also, if you want to connect to your Arch box via Finder, you need to setup Samba. I'm guessing that you would like to mount your home directory?? Search the forums, there are a few good guides on how to setup samaba. But basically:

1.) pacman -S samaba
2.) go into /etc/samba and save smb.conf.default AS smb.conf
3.) add samba to your list of daemons in rc.conf
4.) edit your smb.conf to your liking. (dont worry it is nicely documented)
5.) run smbpasswd -e USERNAME
6.) prob. a good idea to reboot.
7.) you should now be able to specify connect to arch via finder and mount your home directory.

good luck!

-Jason

Offline

#7 2004-11-09 11:52:57

ame
Member
Registered: 2004-09-10
Posts: 22

Re: macintosh to archmachine

well yea! samba s working working working! i tried yesterday, only thing i  forgot was to set the smbpasswd. yea that s pretty nice now. thank you very much.
however at least my ssh does not work! i dont get it.
anybody any ideas left? (from mac to arch!)
kaname

Offline

#8 2004-11-09 14:07:42

shlo
Member
Registered: 2004-09-25
Posts: 42

Re: macintosh to archmachine

How is your network set up? Over ethernet? 802.11something? Is it a private network on a Cable modem, a College network or otherwise?


Check in the sharing panel on the Mac.
1) Is your firewall on?
2) If yes, is the box labeled "Remote Login - SSH (22)" checked?

Offline

Board footer

Powered by FluxBB