Tarhon-Onu Victor wrote:

>On Mon, 6 Jun 2005, Paul Lacatus wrote:
>
>  
>
>>dar nu vrea.  Eroarea este LCP timeout
>>    
>>
>
>       Nu ti se pupa ssh-urile sau pppd-ul remote nu raspunde.
>
>  
>
Hai ca incepe sa ma ia cu pitici.  Am modificat /etc/ppp/peers/vpn :

 [EMAIL PROTECTED] root]# cat /etc/ppp/peers/vpn
192.168.100.164:192.168.100.84
debug
lcp-echo-interval 30
lcp-echo-failure 10
proxyarp
noauth
nocrtscts
pty "/usr/bin/ssh -v -i /root/.ssh/cheie.vpn -p port [EMAIL PROTECTED]"
ipparam vpn

daca dau din consola : /usr/bin/ssh -v -i /root/.ssh/cheie.vpn -p port 
[EMAIL PROTECTED] 

[EMAIL PROTECTED] root]# /usr/bin/ssh -v -i /root/.ssh/cheie.vpn -p port 
[EMAIL PROTECTED]
OpenSSH_3.6.1p2, SSH protocols 1.5/2.0, OpenSSL 0x0090701f
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Rhosts Authentication disabled, originating port will not be 
trusted.
debug1: Connecting to xxx.xxx.xxx.xxx port ppppp
debug1: Connection established.
debug1: identity file /root/.ssh/cheie.vpn type 1
debug1: Remote protocol version 2.0, remote software version OpenSSH_3.9p1
debug1: match: OpenSSH_3.9p1 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_3.6.1p2
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 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 'server' is known and matches the RSA host key.
debug1: Found key in /root/.ssh/known_hosts:7
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
debug1: Authentications that can continue: publickey,keyboard-interactive
debug1: Next authentication method: publickey
debug1: Offering public key: /root/.ssh/cheie.vpn
debug1: Server accepts key: pkalg ssh-rsa blen 149 lastkey 0x89ce4e8 hint 0
debug1: read PEM private key done: type RSA
debug1: Authentication succeeded (publickey).
debug1: channel 0: new [client-session]
debug1: Entering interactive session.
debug1: channel 0: request pty-req
debug1: channel 0: request shell
debug1: channel 0: open confirm rwindow 0 rmax 32768
Last login: Mon Jun  6 17:44:06 2005 from client
Linux concordia 2.4.18 #5 Sun Sep 26 21:21:26 EEST 2004 i686 unknown

Most of the programs included with the Debian GNU/Linux system are
freely redistributable; the exact distribution terms for each program
are described in the individual files in /usr/share/doc/*/copyright

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
~�}#�!}!}!} }4}"}&} } } } }%}&��}'}"}(}"�~~�}#�!}!}!} }4}"}&} } } } 
}%}&��}'}"}(}"�~~�}#�!}!}!} }4}"}&} } } } }%}&��}'}"}(}"�~~�}#�!}!}!} 
}4}"}&} } } } }%}&��}'}"}(}"�~~�}#�!}!}!} }4}"}&} } } } 
}%}&��}'}"}(}"�~~�}#�!}!}!} }4}"}&} } } } }%}&��}'}"}(}"�~~�}#�!}!}!} 
}4}"}&} } } } }%}&��}'}"}(}"�~~�}#�!}!}!} }4}"}&} } } } 
}%}&��}'}"}(}"�~~�}#�!}!}!} }4}"}&} } } } }%}&��}'}"}(}"�~~�}#�!}!}!} 
}4}"}&} } } } }%}&��}'}"}(}"�~debug1: client_input_channel_req: channel 
0 rtype exit-status reply 0
debug1: channel 0: rcvd eof
debug1: channel 0: output open -> drain
debug1: channel 0: obuf empty
debug1: channel 0: close_write
debug1: channel 0: output drain -> closed
debug1: channel 0: rcvd close
debug1: channel 0: close_read
debug1: channel 0: input open -> closed
debug1: channel 0: almost dead
debug1: channel 0: gc: notify user
debug1: channel 0: gc: user detached
debug1: channel 0: send close
debug1: channel 0: is dead
debug1: channel 0: garbage collecting
debug1: channel_free: channel 0: client-session, nchannels 1
Connection to server closed.
debug1: Transferred: stdin 0, stdout 0, stderr 38 bytes in 30.8 seconds
debug1: Bytes per second: stdin 0.0, stdout 0.0, stderr 1.2
debug1: Exit status 10


Treaba e ceva din pppd cu pty ca  : Transfered stdin 0 , stdout 0 stderr 
38 bytes












--- 
Detalii despre listele noastre de mail: http://www.lug.ro/


Raspunde prin e-mail lui