it was probably mistake to start ssh with command
ssh -l 34000:rastovpc:36000 johe
right one should be as you said
ssh -l 34000:rastovpc:36000 rastovpc
but now i can not login on server. :-(
I put public key from client this way
1. on client wrote: ssh-keygen -t rsa1
2. i copyed identity.pub on server to directory $/home/.ssh
3. on server wrote copy /b authorized_keys identity.pub
i past you here some importatant files
--------------------------------
passwd
SYSTEM:*:18:544:,S-1-5-18::
Administratoren:*:544:544:,S-1-5-32-544::
ACTUser:unused_by_nt/2000/xp:1012:513:Application Center Test Account,U-JOHE\ACTUser,S-1-5-21-1214440339-2052111302-839522115-1012:/home/ACTUser:/bin/switch
Administrator:unused_by_nt/2000/xp:500:513:U-JOHE\Administrator,S-1-5-21-1214440339-2052111302-839522115-500:/home/Administrator:/bin/switch
ASPNET:unused_by_nt/2000/xp:1008:513:aspnet_wp account,U-JOHE\ASPNET,S-1-5-21-1214440339-2052111302-839522115-1008:/home/ASPNET:/bin/switch
Gast:unused_by_nt/2000/xp:501:513:U-JOHE\Gast,S-1-5-21-1214440339-2052111302-839522115-501:/home/Gast:/bin/switch
Hilfeassistent:unused_by_nt/2000/xp:1000:513:Hilfeassistentenkonto für den Remotedesktop,U-JOHE\Hilfeassistent,S-1-5-21-1214440339-2052111302-839522115-1000:/home/Hilfeassistent:/bin/switch
IUSR_NBMKUBIK:unused_by_nt/2000/xp:1006:513:Internetgastkonto,U-JOHE\IUSR_NBMKUBIK,S-1-5-21-1214440339-2052111302-839522115-1006:/home/IUSR_NBMKUBIK:/bin/switch
IWAM_NBMKUBIK:unused_by_nt/2000/xp:1007:513:IIS-Prozesskonto starten,U-JOHE\IWAM_NBMKUBIK,S-1-5-21-1214440339-2052111302-839522115-1007:/home/IWAM_NBMKUBIK:/bin/switch
mito:unused_by_nt/2000/xp:1022:513:mito,U-JOHE\mito,S-1-5-21-1214440339-2052111302-839522115-1022:/home/mito:/bin/switch
SQLDebugger:unused_by_nt/2000/xp:1013:513:SQLDebugger,U-JOHE\SQLDebugger,S-1-5-21-1214440339-2052111302-839522115-1013:/home/SQLDebugger:/bin/switch
SUPPORT_388945a0:unused_by_nt/2000/xp:1002:513:CN=Microsoft Corporation,L=Redmond,S=Washington,C=US,U-JOHE\SUPPORT_388945a0,S-1-5-21-1214440339-2052111302-839522115-1002:/home/SUPPORT_388945a0:/bin/switch
VUSR_NBMKUBIK:unused_by_nt/2000/xp:1005:513:VSA Server Account,U-JOHE\VUSR_NBMKUBIK,S-1-5-21-1214440339-2052111302-839522115-1005:/home/VUSR_NBMKUBIK:/bin/switch
VUSR_NBMKUBIK1:unused_by_nt/2000/xp:1011:513:VUSR_NBMKUBIK1,U-JOHE\VUSR_NBMKUBIK1,S-1-5-21-1214440339-2052111302-839522115-1011:/home/VUSR_NBMKUBIK1:/bin/switch
VUSR_NBMKUBIK2:unused_by_nt/2000/xp:1016:513:VSA Server Account,U-JOHE\VUSR_NBMKUBIK2,S-1-5-21-1214440339-2052111302-839522115-1016:/home/VUSR_NBMKUBIK2:/bin/switch
VUSR_POVAHA:unused_by_nt/2000/xp:1019:513:VSA Server Account,U-JOHE\VUSR_POVAHA,S-1-5-21-1214440339-2052111302-839522115-1019:/home/VUSR_POVAHA:/bin/switch
------------------------------------------------
ssh_config
# This is ssh client systemwide configuration file. This file provides
# defaults for users, and the values can be changed in per-user configuration
# files or on the command line.
# Configuration data is parsed as follows:
# 1. command line options
# 2. user-specific file
# 3. system-wide file
# Any configuration value is only changed the first time it is set.
# Thus, host-specific definitions should be at the beginning of the
# configuration file, and defaults at the end.
# Site-wide defaults for various options
# Host *
# ForwardAgent no
# ForwardX11 no
# RhostsAuthentication no
# RhostsRSAAuthentication yes
# RSAAuthentication yes
# PasswordAuthentication yes
# FallBackToRsh no
# UseRsh no
# BatchMode no
# CheckHostIP yes
# StrictHostKeyChecking yes
# IdentityFile ~/.ssh/identity
# IdentityFile ~/.ssh/id_dsa
# IdentityFile ~/.ssh/id_rsa
# Port 22
# Protocol 2,1
# Cipher blowfish
# EscapeChar ~
-----------------------------------------
debug messages from ssh
C:\Programme\OpenSSH\bin>ssh -v -L 34000:rastovpc:36000 rastovpc
OpenSSH_3.8.1p1, OpenSSL 0.9.7d 17 Mar 2004
debug1: Reading configuration data /etc/ssh_config
debug1: Connecting to rastovpc [192.168.0.6] port 22.
debug1: Connection established.
debug1: identity file /home/mito/.ssh/identity type 0
debug1: identity file /home/mito/.ssh/id_rsa type -1
debug1: identity file /home/mito/.ssh/id_dsa type -1
debug1: Remote protocol version 2.0, remote software version OpenSSH_3.8.1p1
debug1: match: OpenSSH_3.8.1p1 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_3.8.1p1
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-cbc hmac-md5 none
debug1: kex: client->server aes128-cbc hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Host 'rastovpc' is known and matches the RSA host key.
debug1: Found key in /home/mito/.ssh/known_hosts:1
debug1: ssh_rsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
****USAGE WARNING****
This is a private computer system. This computer system, including all
related equipment, ...
debug1: Authentications that can continue: publickey,password,keyboard-interacti
ve
debug1: Next authentication method: publickey
debug1: Trying private key: /home/mito/.ssh/id_rsa
debug1: Trying private key: /home/mito/.ssh/id_dsa
debug1: Next authentication method: keyboard-interactive
debug1: Authentications that can continue: publickey,password,keyboard-interacti
ve
debug1: Next authentication method: password
mito@rastovpc's password:
debug1: Authentications that can continue: publickey,password,keyboard-interacti
ve
Permission denied, please try again.
mito@rastovpc's password:
debug1: Authentications that can continue: publickey,password,keyboard-interacti
ve
Permission denied, please try again.
mito@rastovpc's password: