Setting up SSH key on windows box.

Hello all. This is my first post so please be gentle.

I have a situation where I am trying to run a windows batch file to SSH/FTP from a Windows box to a Solaris server.

The batch file is not working because it can not find the SSH key.

Does any one know how to set up an SSH key on a windows box for a Solaris server?

Thank you in advance

-University

What SSH software are you using on each side? (OpenSSH / SecureTTY / PuTTY / WinSCP / SSH.com / ...)

I'm Using SSH Tectia client. Version 4.2.0.

On a side note does any one know how to disable the advertisement pictures in this forum? The neon Barbie pics are not very becoming of a Unix Administrator.
I have to minimize my screen to avoid drawing unwanted attention from my manager.

On both sides?

As for the advertisements: as long as you're logged in, you shouldn't see any. If you do, please open a separate thread here

Well, on the Unix side its just Solaris Generic version of SSH? IF not how do i check the version on the solaris side?

It's probably OpenSSH, but you can check using

ssh -V

.

Create a public key pair on the Windows side using ssh-keygen, copy the public key to Solaris, and run

ssh-keygen -i -f key.pub

Then add the contents of the resulting file to ~/.ssh/authorized_keys.

so ~/.ssh/authorized_keys would go to the users profile? example /etc/export/%user%/.ssh/authorized_keys.

Would this enable the user to login without a password from the windows box?

It should. I've never used Tectia SSH, so I can't guarantee it, but can only base it on the tidbits I found on the net.

Ill give a try. Thx!!!