UofU
July 6, 2010, 7:55am
1
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
pludi
July 6, 2010, 8:09am
2
What SSH software are you using on each side? (OpenSSH / SecureTTY / PuTTY / WinSCP / SSH.com / ...)
UofU
July 6, 2010, 8:31am
3
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.
pludi
July 6, 2010, 8:48am
4
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
UofU
July 6, 2010, 8:55am
5
Well, on the Unix side its just Solaris Generic version of SSH? IF not how do i check the version on the solaris side?
pludi
July 6, 2010, 9:10am
6
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.
UofU
July 6, 2010, 9:23am
7
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?
pludi
July 6, 2010, 9:36am
8
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.