Home
| Calendar
| Mail Lists
| List Archives
| Desktop SIG
| Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings Linux Cafe | Meeting Notes | Linux Links | Bling | About BLU |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Content-Type: text/plain; charset=us-ascii jbk <jbk at mail2.gis.net> writes: > What I would like to know is, is it possible to set up the login process > so I don't have to enter my password each time? My username is different > between machines. That's what ssh-agent is for. I haven't tried it on Windows, but I would expect that it would work pretty much the same there, particularly if you're running it from within cygwin's bash shell. Under Unix, you'd run ssh-agent, which would print out a couple of environment variables that allow the other openssh programs to find the running ssh-agent process. You'd then set these in your current shell. The easiest way to do this is to combine the two with bash's built-in "eval" function: % eval $(ssh-agent) or the old style, if you're running a shell other than bash: eval `ssh-agent` Now you run "ssh-add" once; it prompts you for your pass phrase, then sends your key to the running ssh-agent process. After this, when you run ssh (or sftp, scp, etc), it will check with ssh-agent for an authorized key, and won't ask you for a password unless it can't find one. I'm assuming here that your DSA key is actually set up and working, and that you're being prompted for the key's passphrase and not your regular login password. If that's not the case, then the problem is your DSA key isn't set up correctly. The first thing I'd check is the directory and file permissions on both ends; openssh ignores the DSA keys if it thinks the permissions are insecure. I always chmod my .ssh directories to 0700 and all files within them to 0600. - -- John Abreau / Executive Director, Boston Linux & Unix ICQ 28611923 / AIM abreauj / JABBER jabr at jabber.org / YAHOO abreauj Email jabr at blu.org / WWW http://www.abreau.net / PGP-Key-ID 0xD5C7B5D9 PGP-Key-Fingerprint 72 FB 39 4F 3C 3B D6 5B E0 C8 5A 6E F1 2C BE 99 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) Comment: Exmh version 2.5 07/13/2001 iQCVAwUBPeD1gFV9A5rVx7XZAQIfbgQAi/35Pu9IeFA41QyixXdLAYrsQZ5sYY6f xVt3ocYIfRzZEIU2UwmoGqJxkjsq7z66qreZUZEznSFDTAB2SgouSSjVnWi777ky aEcqIfZK0zCEqbc59EvlB8phAxJxsZOHLpKTsik2JeA+hpWsV045YPe9NiTGbagl Uzl6lP5dPtQ= =wIEQ -----END PGP SIGNATURE-----
BLU is a member of BostonUserGroups | |
We also thank MIT for the use of their facilities. |