Copy you .ssh/identity.pub into .ssh/authorized_keys in your account on the remote machine. If I am correct in understanding that what you want is passwordless login. The man page has details on this near the beginning. This method may be subject to the details of sshd configuration, which I don't entirely remember, attached is my /etc/ssh/sshd_config which I use for passwordless login to localhost to test MPICH programs. Britton Kerin __ GNU GPL: "The Source will be with you... always." On Thu, 1 Feb 2001, Ed Young wrote: > Hi, > > How do I set up a password for ssh2 to use? > The /etc/rsyncd.secrets seems to be only for rsh. > > Thanks, > > Ed Young > Senior Systems Administrator > Department of Geography and Earth Resources > College of Natural Resources > Utah State University > Logan, Utah 84322-5240 > > Phone: (435) 797-7133 > Fax: (435) 797-4048 > > Email: [EMAIL PROTECTED] > > >
# This is ssh server systemwide configuration file. Port 22 ListenAddress 0.0.0.0 #ListenAddress :: HostKey /etc/ssh/ssh_host_key ServerKeyBits 768 LoginGraceTime 600 KeyRegenerationInterval 3600 PermitRootLogin no # # Don't read ~/.rhosts and ~/.shosts files IgnoreRhosts yes # Uncomment if you don't trust ~/.ssh/known_hosts for RhostsRSAAuthentication #IgnoreUserKnownHosts yes StrictModes yes X11Forwarding yes X11DisplayOffset 10 KeepAlive yes # Logging SyslogFacility AUTH LogLevel INFO #obsoletes QuietMode and FascistLogging RhostsAuthentication no # # For this to work you will also need host keys in /etc/ssh_known_hosts RhostsRSAAuthentication no # RSAAuthentication yes # To disable tunneled clear text passwords, change to no here! PasswordAuthentication yes PermitEmptyPasswords no # Uncomment to disable s/key passwords #SkeyAuthentication no # To change Kerberos options #KerberosAuthentication no #KerberosOrLocalPasswd yes #AFSTokenPassing no #KerberosTicketCleanup no # Kerberos TGT Passing does only work with the AFS kaserver #KerberosTgtPassing yes UseLogin no # since these are likely to be being handled by PAM, switch them off here PrintMotd no PrintLastLog no CheckMail no