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?
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.
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.
I am not your friend
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:
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!
ALL : 127.0.0.1
ALL : 192.168.2.101
ALL : EXCEPT sshd
sshd : ALL EXCEPT 192.168.2.101
# HostKey for protocol version 1
# HostKeys for protocol version 2
# Lifetime and size of ephemeral version 1 server key
#obsoletes QuietMode and FascistLogging
# For this to work you will also need host keys in /etc/ssh/ssh_known_hosts
# similar for protocol version 2
# Change to yes if you don't trust ~/.ssh/known_hosts for
# RhostsRSAAuthentication and HostbasedAuthentication
# Don't read the user's ~/.rhosts and ~/.shosts files
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!
when i try to connect from my mac the system tells me:
ssh: connect to host 192.168.2.100 port 22: connection refused
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.
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!)
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?