Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2010

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: SFTP

  • To: mathgroup at smc.vnet.net
  • Subject: [mg110521] Re: SFTP
  • From: János Löbb <janos.lobb at yale.edu>
  • Date: Wed, 23 Jun 2010 01:52:12 -0400 (EDT)

On Jun 22, 2010, at 6:59 AM, Kurt TeKolste wrote:

> Is there any way in Mathematic (using the syntax of ftp link,
> options on Import, or whatever) to access files stored remotely
> using SFTP, i.e. ftp with the SSH security protocol?
> Neither
>     Import["ftp:// user: password @ host: port / path"]
> nor
>     Import["sftp:// user: password @ host: port / path"]
> seems to work.
>
> Szabolcs Horv==E1t suggests
> Import["!ssh remote-machine cat path/to/your/file", "Table"]
>
>  in the arhcive ([1]http://forums.wolfram.com/mathgroup/archive/2008/
> Sep/msg00291.html)
>
> but this does not work either.
>
> Kurt
>
> References
>
> 1. http://forums.wolfram.com/mathgroup/archive/2008/Sep/msg00291.html
>

Hi,

SFTP and ftp with ssh are not the same :-)

You might want to try scp.  Look into documents how can you provide the pas=
sword without typing it on the line.

J=E1nos


  • Follow-Ups:
    • Re: SFTP
      • From: "Kurt TeKolste" <tekolste@fastmail.net>
  • Prev by Date: Export 3D graphics to Web page (a la LiveGraphics3D)
  • Next by Date: Re: Newby Q: How to specify reals
  • Previous by thread: SFTP
  • Next by thread: Re: SFTP