Re: [CentOS] file manager over ssh

2008-08-17 Thread Akemi Yagi
On Sun, Aug 17, 2008 at 6:19 AM, Ned Slider <[EMAIL PROTECTED]> wrote:
> Linux Man wrote:
>>
>> Hello.
>> I need to copy several file from one PC to another over Internet, both
>> using CentOS.
>> What file manager that works over console do you recommend me?
>> Thanks at all
>> Best Regards
>
> If the client is running X, then konqueror using the fish protocol
> (fish://[EMAIL PROTECTED]/) supports transfers over ssh

In fact, midnight commander supports fish.   I just tried and it
worked.  Use this format:

cd /#sh:[EMAIL PROTECTED]/

Akemi
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] file manager over ssh

2008-08-17 Thread Ned Slider

Linux Man wrote:

Hello.
I need to copy several file from one PC to another over Internet, both
using CentOS.
What file manager that works over console do you recommend me?
Thanks at all
Best Regards


If the client is running X, then konqueror using the fish protocol 
(fish://[EMAIL PROTECTED]/) supports transfers over ssh, and gftp supports 
the ssh2 protocol too.


Ned

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] file manager over ssh

2008-08-17 Thread Karanbir Singh
Akemi Yagi wrote:
> # yum install dkms-fuse fuse fuse-sshfs
> # depmod -a ; modprobe fuse
> $ mkdir localdir/
> $ sshfs [EMAIL PROTECTED]:/some/path localdir/
> 

i thought there was something in the wiki on this... humm anyway, one
thing you missed is the usermod to get that user into the fuse group.

-- 
Karanbir Singh : http://www.karan.org/ : [EMAIL PROTECTED]
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] file manager over ssh

2008-08-17 Thread Akemi Yagi
On Sun, Aug 17, 2008 at 4:10 AM, Karanbir Singh <[EMAIL PROTECTED]> wrote:
> Linux Man wrote:
>> Thanks for your help.
>> Yes, I used scp several time and still using it :)
>> But in this case there's a lot of file in different directories, so I
>> need a tool like mc (I don't know if mc runs always over ssh)
>> What file manager that works over console do you recommend me?
>> Thanks at all
>> Best Regards
>
> fuse+sshfs ( wiki.centos.org has details ) - then 'mc' locally.

sshfs is indeed a handy way to access remote filesystems through ssh.
But I do not see any details on the CentOS wiki.  Here's a brief
instruction:

# yum install dkms-fuse fuse fuse-sshfs
# depmod -a ; modprobe fuse
$ mkdir localdir/
$ sshfs [EMAIL PROTECTED]:/some/path localdir/

To unmount:

$ fusermount -u localdir/

Note that you do not have to be root to mount/umount using sshfs.

Another option is to use gftp.  After you start it, just select "SSH2"
instead of the default "FTP".  Then you will be connecting through ssh
(remote does not need ftp daemon running) and you get an mc-like
session quite easily.

Akemi
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] file manager over ssh

2008-08-17 Thread Karanbir Singh
Linux Man wrote:
> Thanks for your help.
> Yes, I used scp several time and still using it :)
> But in this case there's a lot of file in different directories, so I
> need a tool like mc (I don't know if mc runs always over ssh)
> What file manager that works over console do you recommend me?
> Thanks at all
> Best Regards

fuse+sshfs ( wiki.centos.org has details ) - then 'mc' locally.

-- 
Karanbir Singh : http://www.karan.org/ : [EMAIL PROTECTED]
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] file manager over ssh

2008-08-17 Thread Linux Man
Thanks for your help.
Yes, I used scp several time and still using it :)
But in this case there's a lot of file in different directories, so I
need a tool like mc (I don't know if mc runs always over ssh)
What file manager that works over console do you recommend me?
Thanks at all
Best Regards

2008/8/17 Rudi Ahlers <[EMAIL PROTECTED]>:
>
>
> On Sun, Aug 17, 2008 at 11:19 AM, Linux Man <[EMAIL PROTECTED]> wrote:
>>
>> Hello.
>> I need to copy several file from one PC to another over Internet, both
>> using CentOS.
>> What file manager that works over console do you recommend me?
>> Thanks at all
>> Best Regards
>> ___
>
> scp is the easiest in this regard. It runs over SSH, so your data is secure
> - especially if it's over the open internet.
>
> The commands are as follows: scp [EMAIL PROTECTED]:/home/user1/myfile .
>
> This assumes user1 is a user on that machine, and has SSH access. The file
> /home/user1/myfile will be copied to the current folder - denoted by the dot
> ( . )
>
> --
>
> Kind Regards
> Rudi Ahlers
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] file manager over ssh

2008-08-17 Thread John R Pierce

Rudi Ahlers wrote:
scp is the easiest in this regard. It runs over SSH, so your data is 
secure - especially if it's over the open internet.


The commands are as follows: scp [EMAIL PROTECTED]:/home/user1/myfile .

...

and in fact, if /home/user1 is [EMAIL PROTECTED]'s home directory, that 
can be shortened to...


   $ scp [EMAIL PROTECTED]:myfile .

you can also copy the other way...

   $ scp myfile [EMAIL PROTECTED]:.

which would put it in [EMAIL PROTECTED]'s home directory...  or...

   $ scp -R .  [EMAIL PROTECTED]:/remote/path

would copy ALL files and subdirectories from the current directory to 
/remote/path on otherhost...


`man scp` for lots more options...


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] file manager over ssh

2008-08-17 Thread Rudi Ahlers
On Sun, Aug 17, 2008 at 11:19 AM, Linux Man <[EMAIL PROTECTED]> wrote:

> Hello.
> I need to copy several file from one PC to another over Internet, both
> using CentOS.
> What file manager that works over console do you recommend me?
> Thanks at all
> Best Regards
> ___
>

scp is the easiest in this regard. It runs over SSH, so your data is secure
- especially if it's over the open internet.

The commands are as follows: scp [EMAIL PROTECTED]:/home/user1/myfile .

This assumes user1 is a user on that machine, and has SSH access. The file
/home/user1/myfile will be copied to the current folder - denoted by the dot
( . )

-- 

Kind Regards
Rudi Ahlers
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos