Setting up SSH key on windows box.


 
Thread Tools Search this Thread
Operating Systems Solaris Setting up SSH key on windows box.
# 1  
Old 07-06-2010
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
# 2  
Old 07-06-2010
What SSH software are you using on each side? (OpenSSH / SecureTTY / PuTTY / WinSCP / SSH.com / ...)
# 3  
Old 07-06-2010
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.
# 4  
Old 07-06-2010
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
# 5  
Old 07-06-2010
Well, on the Unix side its just Solaris Generic version of SSH? IF not how do i check the version on the solaris side?
# 6  
Old 07-06-2010
It's probably OpenSSH, but you can check using
Code:
ssh -V

.

Create a public key pair on the Windows side using ssh-keygen, copy the public key to Solaris, and run
Code:
ssh-keygen -i -f key.pub

Then add the contents of the resulting file to ~/.ssh/authorized_keys.
# 7  
Old 07-06-2010
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?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

How to access redhat Linux box graphically from windows box?

Hi I have a linux box and need to access from windows graphically # uname -a Linux pc-l416116 2.6.18-155.el5 #1 SMP Fri Jun 19 17:06:47 EDT 2009 i686 i686 i386 GNU/Linux What components do I need to install on Linux and windows to do that? TIA (6 Replies)
Discussion started by: magnus29
6 Replies

2. Red Hat

cannot ssh (use NFS) on RHEL box, but can mount external & ssh out of RHEL box

Ok, Im trying to get NFS working on my RHEL 5 box, apparently i can use the box as a client, but not as a server. If it helps i cant ssh into the box (server), but as a client ssh works fine. Ive configured server: /etc/hosts.allow: all : all all :all@all setup my /etc/exports file... (4 Replies)
Discussion started by: drs.grid
4 Replies

3. Solaris

Solaris 8 ssh public key authentication issue - Server refused our key

Hi, I've used the following way to set ssh public key authentication and it is working fine on Solaris 10, RedHat Linux and SuSE Linux servers without any problem. But I got error 'Server refused our key' on Solaris 8 system. Solaris 8 uses SSH2 too. Why? Please help. Thanks. ... (1 Reply)
Discussion started by: aixlover
1 Replies

4. Shell Programming and Scripting

ftp file starting with particular name on Windows box to Unix box using shell script

Hello all ! I'm trying to write a shell script (bash) to ftp a file starting with particular name like "Latest_" that is present on a Windows box to UNIX server. Basically I want to set this script in the cron so that daily the new build that is posted on the Windows box can be downloaded to the... (2 Replies)
Discussion started by: vijayb4u83
2 Replies

5. Windows & DOS: Issues & Discussions

Public/Private Key SSH from UNIX to Windows (Cygwin)

Hello all, I have a bit of trouble working a passwordless SSH from UNIX to Cygwin running windows 2k3. Here are some details. I AM able to SSH from the Windows box to the UNIX box using the keys. Also, I'm able to SSH from UNIX to Windows w/o the keys. However, when I try to do it with the keys... (9 Replies)
Discussion started by: kclerks11
9 Replies

6. UNIX for Dummies Questions & Answers

I need an scp command from a unix box to a windows box.

scp file="myfile.txt" todir="user@somehost:(M:drive:/somepath/)"/ Not sure I need it to go to a specific drive on the windows box (1 Reply)
Discussion started by: xgringo
1 Replies

7. Shell Programming and Scripting

Moving files from Unix box to a windows box

Hi All, I need a little help .I want to transfer a file from unix box to a windows box,but the problem i'm facing is that in windows box FTP is not enabled and currently it is nearly impssible to change setting on windows box,i can not use the ftp method ,in my shell script to transfer the file.... (2 Replies)
Discussion started by: Preet
2 Replies

8. UNIX for Advanced & Expert Users

Access files from prev box after SSH to another box

i'm not much of an advanced unix programmer but I'm trying to write a script to access files on box1 after ssh from box 1 to box2. when ssh is invoked in the script i'm getting logged into box2 and losing complete touch with box1 which is normal i guess. but my main aim with my script is when i... (3 Replies)
Discussion started by: pharos467
3 Replies

9. UNIX for Advanced & Expert Users

Setting Up public key on Windows for ssh/scp

Hi, I am trying to scp a file from our Unix server to the local Windows machine.I have created the key pair in Unix server using ssh-keygen command in unix. But I am not sure where can we put the public key(generated on Unix) in Windows machine so that scp from Unix machine to Windows is... (3 Replies)
Discussion started by: dennis.jacob
3 Replies

10. UNIX for Advanced & Expert Users

VPN client (windows Box),and Server (Unix Box)

If I want to access unix box via VPN tunnel,from windows box. What sould I configure on the windows client PC, and what should I enable on the Unix Server box ? I am using Solaris V10 intel platform, and I am using windows XP, and 2003 for client (0 Replies)
Discussion started by: zillah
0 Replies
Login or Register to Ask a Question