You are not logged in.
Often when I need to pull data quickly from one box to another i use sftp (because i have ssh configured, but no ftp/nfs/...)
However sftp does not support directories, so what i usually do is (If i don't know the exact path/filenames):
1) ssh to box
2) cd to the right path and put it in my selection buffer
3) logout
4) scp -rp <box>:<path> .
Which is of course, not all that efficient.
Is there a way to do directory transfers with sftp? directory tab completion would be useful too.
Last edited by Dieter@be (2009-06-13 12:16:48)
< Daenyth> and he works prolifically
4 8 15 16 23 42
Offline
the simpliest way, for me, to use GUI sftp client. I think nautilus in grome and dolphin in kde4 can do that.
Last edited by vit (2009-06-13 11:17:37)
Offline
A lot of GUI FTP clients support SFTP operations as well. I use FileZilla for it - for single file or small operations I use the method you described too .
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline
aha, so i guess i should just look out for a better (cli) sftp client that supports this. (some of my boxes are headless)
< Daenyth> and he works prolifically
4 8 15 16 23 42
Offline
Something in bash-completion seems to do tab completion for scp.
You can do wildcards too, just escape it so bash doesnt read it.
scp -r desktop:mus\* ./oldmusic
Hope that helps.
Last edited by iphitus (2009-06-13 12:07:32)
Offline
aha, so i guess i should just look out for a better (cli) sftp client that supports this. (some of my boxes are headless)
As long as it's the server there is no problem is it .
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline
Take a look at sshfs too. I've found that to be very useful when transferring many files over ssh. It's available in extra.
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
Something in bash-completion seems to do tab completion for scp.
You can do wildcards too, just escape it so bash doesnt read it.
scp -r desktop:mus\* ./oldmusic
Hope that helps.
Well, this is actually a great alternative for sftp. Thanks
< Daenyth> and he works prolifically
4 8 15 16 23 42
Offline
Take a look at sshfs too. I've found that to be very useful when transferring many files over ssh. It's available in extra.
Indeed... I don't know how I forgot that. I used NFS before to map my server's data to my laptop but now it's just sshfs . Quite easy. If you cache your SSH keys you can mount them easily (that is, with fstab fiddling and some pipe menu magic in Openbox <3).
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline