From: Kurt TeKolste on
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


From: János Löbb on

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

From: Kurt TeKolste on
J=E1nos

Please clarify, as Wikipedia does not agree

"...the SSH File Transfer Protocol (sometimes called Secure File
Transfer Protocol or SFTP)..."

see http://en.wikipedia.org/wiki/SSH_file_transfer_protocol

Kurt


On Wed, 23 Jun 2010 01:52 -0400, "J=E1nos L=F6bb" <janos.lobb(a)yale.edu>
wrote:
>
> 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
>
>