Filesystem SSH di Ubuntu

Seringkali saya perlu meng copy file antar server Unix / Linux, dengan parameter cp tertentu, seperti /u (updated files only). Namun fasilitas ini tidak ada di scp. Atau, perlu mounting remote filesystem, namun secara secure. Apa akal ?

Dengan ssfs / fuse, maka kita bisa melakukan ini dengan mudah.

Copy-paste di Ubuntu perintah-perintah berikut ini :

sudo aptitude install sshfs
sudo modprobe fuse
sudo sh -c “echo ‘fuse’ >> /etc/modules”

sshfs / fuse telah terpasang, dan otomatis akan selalu berjalan.

Untuk mounting, ketik perintah berikut ini :

sshfs user@hostname:/path/to/folder /local/folder

Maka kini kita bisa mengakses folder di server remote tersebut via /local/folder, nice!

Ketika sudah selesai, ketikkan perintah berikut ini :

sudo umount /local/folder

Ingin agar ini selalu dilakukan setiap booting ? Cukup edit file /etc/fstab, dan tambahkan baris seperti ini :

[hostname/IP]:/path/to/folder /local/folder fuse defaults 0 0

Semoga bermanfaat.

Ref: ubuntu-tutorials.com

30 thoughts on “Filesystem SSH di Ubuntu

  1. Agak beda fish dg sshfs. Dengan sshfs kita serasa bekerja dg file local. Salah satu trick lagi sshfs ini sangat bermanfaat ketika harus membackup data dari mesin “mati” ke mesin lain. Misal ketika harus membackup data secara mentah dari mesin Windows ke mesin lainnya. Backup data mentah biasanya dilakukan utk recovery atau forensik.

    Cukup cari distro enteng yg support sshfs, fuse, dd_rescue, kalau ndak ada yg bikin sendiri misal dari SLAX. Di Kolom saya infolinux bulan ini (atau depan) saya bahas.

  2. hey, how peoples can join nimbuzz chat rooms contain more than 25 users?
    please send the answer to my email. thank you

  3. Wow,great! This article is really excellent! You must see !

    Blu-ray Burner software is a powerful and best video Blu-ray DVD burner and Blue-ray burner tool.It can help you burn videos to Blu-ray Disc (BD) and also enable you to burn all these videos to Blu-ray disc and create your own Blu-ray movie.

  4. wahhh…This article is really excellent!One of the biggest celebrity fans of Coach bags is Mandy Moore. The casual appeal of many Coach bags is perfect for Mandy’s style and she constantly opts for their exotic line of bags.

  5. I know that computer is a necessary for most of people. People can’t work without computer. With the development of tech. More high speed computer was develped and people can improve the work easily. Happy every body.

  6. It is really true that computer is most important for everyone. People can’t work without a computer. I think it can help you burn videos to Blu-ray Disc. Thank you for the nice information shared with us. I hope you will come up with more posts.

  7. It’s really a nice and helpful piece of information. I am satisfied that you simply shared this useful information with us. Please stay us up to date like this. Thank you for sharing.

Leave a Reply

Your email address will not be published. Required fields are marked *