El vie, 06-11-2009 a las 09:24 -0600, Andres Vargas - zodman escribió:
> Hi list this my first time on the list.
> 
> And i want ask some questions.
> 
> First... its posible make a  dinamic port forwaring tunnels with
> paramiko to openssh ?
> the equal to>> ssh u...@host -D2000
> 
> Second ... its posible make a direct tunnel with paramiko to openssh ?
> the equal to >> ssh u...@host -L 2000:host2:80
> 
> 
> Third ... its posible make a rsa keys(pub and private ) with paramiko
> and auth/login to openssh with the keys??
> 
> 
> Sorry by the english its not my main language.
> 
> _______________________________________________
> paramiko mailing list
> [email protected]
> http://www.lag.net/cgi-bin/mailman/listinfo/paramiko

Hi andres,

I don't know if the first two questions are enable in paramiko, but the
last one is enable and i was use and still use with my application. I'll
past how you can use:

private_key = '~/.ssh/id_rsa'
private_key_file = os.path.expanduser(private_key)
rsa_key = paramiko.RSAKey.from_private_key_file(private_key_file)
self._transport.connect(username = username, pkey = rsa_key)


if you have any question feel fre to ask

Regards

-- 
Larry loves Gentoo (Linux)

 ______________________
< Have you mooed today? >
 -----------------------------------
        \   ^__^
         \  (oo)\_______
            (__)\              )\/\ 
                   || --------w |
                   ||             ||

*****************************************
*****************************************
* GNU/Linux user #413468
* blog.sergiotocalini.com.ar
*****************************************
* MiWiki (Misiones Wiki)
* www.miwiki.org.ar
*****************************************


_______________________________________________
paramiko mailing list
[email protected]
http://www.lag.net/cgi-bin/mailman/listinfo/paramiko

Reply via email to