On 15 Nov 2002, Sam Steingold wrote: > upgrading to rh8 broke nfs and ssh: > > 1. I cannot mount nfs: > I have two machines on my lan (using a linksys router). > both have identical /etc/exports: > > / 192.168.1.*(rw,async,no_root_squash) > > and /etc/fstab: > > the-other-host:/ /mnt/the-other-host nfs user,exec,intr,rw 0 0 > > this setup worked with rh7.3 but now I get "permission denied". > I have nfs-utils-1.0.1-2 installed.
# chkconfig --list should show nfs and portmap running at runlevels 3, 4 and 5. does "exportfs -a" show any errors on the nfs server? what does "rpcinfo -p nfsserver" from the-other-host say? > 2. ssh now requires a password to login: > I have identical ~/.ssh/ on both machines (on local disks), and I > use ssh-agent and with rh7 I was not asked password when I said > "ssh the-other-host", but now ssh asks me for the password (and lets > me in when I type the login password - not the ssh passphrase). > I did not modify the stock /etc/ssh/sshd_config, and I suspect that > there is a magic incantation that would work, but the man page only > told me how to disable password auth - and although I am happy to do > it, it does not help me to login without it. Never tried it that way, but as "man ssh" tells us: ssh implements the RSA authentication protocol automatically. The user creates his/her RSA key pair by running ssh-keygen(1). This stores the private key in $HOME/.ssh/identity and the public key in $HOME/.ssh/identity.pub in the user's home directory. The user should then copy the identity.pub to $HOME/.ssh/authorized_keys in his/her home directory on the remote machine (the authorized_keys file corresponds to the conventional $HOME/.rhosts file, and has one key per line, though the lines can be very long). After this, the user can log in without giving the password. RSA authentication is much more secure than rhosts authen- tication. Which always worked for me. -- \ \/ / _ |~\ _ In God We Trust. All Others Pay Cash. > < / \|\ /|+-< | | "The world is a comedy to those that think, / /\ \\_/| \/ ||__)|_| a tragedy to those who feel." - Horace Walpole -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list