[Voyage-linux] connecting to ALIX from windows

Michael Cohen (spam-protected)
Mon Mar 22 06:39:57 HKT 2010


Ant,
  You can use the command line pscp which is shipped with putty.

If you want to have passwordless access, you will need to create keys
using putty-keygen and then use the correct command line to pscp to
tell it to use the correct keys when logging in (after of course
adding the public keys to the alix's .ssh/authorized_keys file).

Then in VB you just shell out to pscp (I am not familiar with VB but
usually its something like system() to shell out to something).

A side note from a security point of view - clearly your VB app will
have passwordless keys to log into the alix so presumably any user
which has the VB app also has full access to the ALIX. You will need
to do your own threat assessment but something like scponly on the
ALIX can help mitigate some of these problems.

Michael.

2010/3/22 Ant A <kizofilax2 at gmail.com>:
> Hello, I need to download a file stored in the ALIX from a program developed
> in VB.NET. Usually i do this in linux with the scp command and I get the
> file but I don't know how to do a similar thing in windows. I know there are
> emulators such as putty but how can I use putty in a VB program? Do I need
> some special libraries?
>
> Thanks
>
> _______________________________________________
> Voyage-linux mailing list
> Voyage-linux at list.voyage.hk
> http://list.voyage.hk/mailman/listinfo/voyage-linux
>
>




More information about the Voyage-linux mailing list