sshfs -o nonempty user@aaa:  /home/user/links/

check the following line (or similar) exists in /etc/ssh/sshd_config of aaa

Subsystem       sftp    /usr/libexec/openssh/sftp-server

sometime, change the path of sftp-server or install some..., and restart sshd server.

'Computer > linux' 카테고리의 다른 글

several find commands  (0) 2011.01.18
Error read: Connection reset by peer when sshfs is using.  (0) 2010.12.21
FAT32 format in Linux  (0) 2010.10.31
strtok을 사용하지 말자.  (0) 2010.08.24
posted by citadel


Computer/linux 2007.05.10 20:38
I have one remote account of my institute with NFS. Whenever some network has problems, I cannot login my laptop or whatever. I have to stop to do something.
I do not like this situation. Then I decide to use local account of my laptop. However, whenever the remote account will be needed, I use it with ssh. Well, just transfer files from local to remote, and so on. It is also weird.

sshfs gives me a good solution.  Now I can mount my remote account inside my local account.

How to..

mount : sshfs remoteaccount@remote: /media/dir-name/
unmount : fusermount -u /media/dir-name/

It works great!

This was done with the Ubuntu blog.

'Computer > linux' 카테고리의 다른 글

How to create a stand alone eps file by using pstricks  (0) 2007.05.14
sshfs  (0) 2007.05.10
Running programs in the background.  (0) 2007.03.10
select one ghostscript on ubuntu 6.10  (0) 2007.03.09
posted by citadel