ssh (open)
jbk
jbk at mail2.gis.net
Sun Nov 24 12:20:15 EST 2002
Back to square one.
As you can see in my original post I'm being asked for my user password,
not the passphrase I used to setup the keys. I checked my .ssh directory
on the remote Linuxbox which is 0700 and found that the keys were not
0600 but the default umask. I changed them to 0600 and then again tried
to login from my cygwin machine, and was still asked for my password.
Maybe I am missing the basic setup concept.
Here is my basic setup:
On my cygwin box my HOME is set in the NT environment via the value of
%HOME% which is not my username on that machine.
On the Linux box my home is in the traditional location and contains the
.ssh directory as described above.
Before I even worry about setting up ssh-agent I would like to get to
the point of being asked for my pass-phrase when logging in to the
Linuxbox from the NTcygwinbox.
As can be seen in my original post ssh complains that it cannot creat
the /home/Johndoe/.ssh directory. Where does it want to creat it as it
does not exist?
Well I will reread the documentation and see if the problem becomes
appearant.
Jim Kelly-Rand
John Abreau wrote:
>-----BEGIN PGP SIGNED MESSAGE-----
>
>
>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-----
>
>_______________________________________________
>Discuss mailing list
>Discuss at blu.org
>http://www.blu.org/mailman/listinfo/discuss
>
>
>
>
More information about the Discuss
mailing list