Our Pal Al wrote: > I'm trying to enable SSH without requiring a password between my OSX > machine and another OSX Mac. > > On my mac I used ssh-keygen to make an rsa key. > I copied the id_rsa.pub file from my ~/.ssh directory to the > authorized_keys file in the ~/.ssh directory of my target Mac > On the target I edited /etc/sshd_config to uncomment > "PubkeyAuthentication yes" and "AuthorizedKeysFile > .ssh/authorized_keys", and then turned Remote Login of and on in the > Sharing preference. > > And yet, whenever I try to ssh to my target, I can't at all. I get > "Connection closed by <remote ip#>" > > What am I still doing wrong? For now I have to rename authorized keys > to get in. > > - opa > > _______________________________________________ > X-Unix mailing list > X-Unix at listserver.themacintoshguy.com > http://listserver.themacintoshguy.com/mailman/listinfo/x-unix > Does the account you're logging in to on the other Mac exist and does it have a shell set? I ran into this the other day when I'd forgotten to fully set up the user on the other machine. Also, I dont know about Darwin in particular, but some default *nix installs dont allow the admin/root account to log in remotely, you have to log in as an underpriveledged user and then SU to an admin account to do any fiddling. -- This message has been scanned for viruses and dangerous content, and is believed to be clean.