SSH from Windows to Unix Server



SSH from Windows to Unix Server

Ok, first off i want to apologize as this problem has nothing to do with WinSCP, but i really need an answer to this question and this seems to be the only ssh forum i can find. If anyone has another good for to suggest i would be thankful.
In the meantime, if anyone can help me with this.

I'm setting up a ssh connection from my windows machine to a unix server. I installed OpenSSH for windows, version v3.8.1.

I've set up my keys as follows:
(ignore the !)
1. Went to DOS typed "ssh-!ke!ygen -t rsa"
2. Hit enter on all options
3. Got from windows .ssh dir and used WinSCP to place it into .ssh directory on Unix machine.
4. Typed "cat > authorized_keys" on unix machine
5. Went back to DOS and typed "ssh -v hostname -l username"

Here is the output i get.
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
The authenticity of host 'hostname' can't be established.
DSA key fingerprint is 32:eb:9e:c5:70:22:ab:12:4a:6b:60:0b:3b:ec:24:f9.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'hostname' (DSA) to the
list of known hosts.
debug1: ssh_dss_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_ACCEPT received

All content of this system and its associated sub-systems are
PROPRIETARY INFORMATION and remain the sole and exclusive property
of xxxx. This system may be accessed and used by authorized
personnel only. Authorized users may only perform authorized activities
and may not exceed the limits of such authorization. Disclosure of
information found in this system for any unauthorized use is STRICTLY

debug1: Authentications that can continue: publickey,password,keyboard-interactive
debug1: Next authentication method: publickey
debug1: Trying private key: /home/Administrator/.ssh/identity
debug1: Offering public key: /home/Administrator/.ssh/id_rsa
debug1: Authentications that can continue: publickey,password,keyboard-interactive
debug1: Trying private key: /home/Administrator/.ssh/id_dsa
debug1: Next authentication method: keyboard-interactive

As you can see it always asks for the password. Whats happening. Please help with this.


Reply with quote


You can post new topics in this forum