Jumat, 02 September 2016

Cara mengaktifkan FTP atau sFTP Server di Mac OSX



Suatu saat saya punya perangkat jaringan yang harus di collect dump log nya, dan ternyata hanya bisa di taruh hasil dump log nya tersebut hanya melalui koneksi FTP atau sFTP saja. Kebetulan vendor nya juga tidak berhasil membuat server FTP di laptop yang dibawanya, ya terpaksa saya harus membantu, saya ingin mengaktifkan ftp server pada laptop Mac yang saya gunakan.

Jika Anda telah cek pada panel Preferensi Sharing dalam versi yang lebih baru dari Mac OS X, Anda mungkin telah memperhatikan tidak ada lagi pilihan langsung untuk mengaktifkan server FTP untuk berbagi file dan folder. Yah, setidaknya tidak ada pilihan yang jelas, tetapi FTP dan SFTP server masih ada

Untuk trik FTP / SFTP server yang ini bisa dijalankan di semua versi baru dari OS X, baik itu OS X Yosemite 10.10.x, Mavericks 10,9, Mountain Lion 10.8, atau 10.7 Lion.

Cara dibawah ini adalah untuk mengaktifkan generic FTP server, namun bukan untuk SFTP :

1. Buka terminal, lalu ketik

$ sudo -s launchctl load -w /System/Library/LaunchDaemons/ftp.plist

2. Jika sudah, cek apakah FTP server nya sudah aktif atau belum dengan melakukan ftp ke localhost

$ ftp localhost
Trying ::1…
Connected to localhost.
220 ::1 FTP server (tnftpd 20100324+GSSAPI) ready.
Name (localhost:Dony):

Jika anda melihat output seperti diatas, berarti FTP server nya sudah aktif. Untuk login bisa menggunakan user dan password lokal pada MAC OSX nya.


Langkah berikut nya adalah bagaimana caranya untuk mengaktifkan SFTP server di MAC OSX :

1. Buka System Preferences dan menu “Sharing”
2. Klik di checkbox “Remote Login” Untuk mengaktifkan SSH dan SFTP



3. Jika sudah, untuk mengecek apakah service nya sudah aktif atau belum dengan melakukan test sftp ke localhost :

$ sftp localhost


OK, sekarang bagaimana jika kita ingin melakukan disable atau menonaktifkan kembali service ftp ayau sftp nya, caranya adalah :

1. Buka terminal, lalu ketik

$ sudo -s launchctl unload -w /System/Library/LaunchDaemons/ftp.plist

2. Untuk SFTP, caranya tinggal buka System Preferences dan menu “Sharing” dan hilangkan di checkbox “Remote Login” Untuk meng-nonaktifkan SSH dan SFTP.


Sumber : http://osxdaily.com/2011/09/29/start-an-ftp-or-sftp-server-in-mac-os-x-lion/

Semoga bermanfaat untuk pembaca semua.

Dony Ramansyah
site : http://donyramansyah.net
blog : dony-ramansyah.blogspot.com
email : dony.ramansyah[at]gmail.com
Registered linux user : ID 40017

24 komentar:

Unknown mengatakan...

This is a great post. I like this topic.This site has lots of advantage.I found many interesting things from this site. It helps me in many ways.Thanks for posting this again.

CCNA Training in Chennai

Jeffy mengatakan...

Superb explanation & it's too clear to understand the concept as well, keep sharing admin with some updated information with right examples.Keep update more posts.

Digital Marketing Company in Chennnai

saimouni mengatakan...

Great post! I am actually getting ready to across this information, It’s very helpful for this blog.Also great with all of the valuable information you have Keep up the good work you are doing well.
python training in chennai
python course institute in chennai

Saro mengatakan...

Good Post! Thank you so much for sharing this pretty post, it was so good to read and useful to improve my knowledge as updated one, keep blogging.
rpa training in Chennai
rpa training in bangalore
best rpa training in bangalore
rpa course in bangalore
rpa training institute in bangalore
rpa training in bangalore
rpa online training

afiah b mengatakan...

It is amazing and wonderful to visit your site.Thanks for sharing this information,this is useful to me...
Java training in Chennai | Java training institute in Chennai | Java course in Chennai

Java training in Bangalore | Java training institute in Bangalore | Java course in Bangalore

Java online training | Java Certification Online course-Gangboard

Java training in Pune

Unknown mengatakan...

Great thoughts you got there, believe I may possibly try just some of it throughout my daily life.
excel advanced excel training in bangalore
Devops Training in Chennai

jeyanthi mengatakan...

This is beyond doubt a blog significant to follow. You’ve dig up a great deal to say about this topic, and so much awareness. I believe that you recognize how to construct people pay attention to what you have to pronounce, particularly with a concern that’s so vital. I am pleased to suggest this blog.
Data Science Course in Indira nagar
Data Science Course in btm layout
Python course in Kalyan nagar
Data Science course in Indira nagar
Data Science Course in Marathahalli
Data Science Course in BTM Layout

Unknown mengatakan...

Great post! I am actually getting ready to across this information, It’s very helpful for this blog.Also great with all of the valuable information you have Keep up the good work you are doing well.
angularjs online Training

angularjs Training in marathahalli

angularjs interview questions and answers

angularjs Training in bangalore

angularjs Training in bangalore

angularjs interview questions and answers

WUGI mengatakan...

Interested in details on online casinos? Come to us, here is all in full details. Top online casinos in the world Best casino only at BGAOC.

sakthi mengatakan...

All are saying the same thing repeatedly, but in your blog I had a chance to get some useful and unique information, I love your writing style very much, I would like to suggest your blog in my dude circle, so keep on updates.
microsoft azure training in bangalore
rpa training in bangalore
best rpa training in bangalore
rpa online training

Belago mengatakan...

Давно мечтал сделать красивую подсветку дома но для этого нужен профиль для подсветки где его брать?)

Softgen Infotech mengatakan...

I am happy for sharing on this blog its awesome blog I really impressed. thanks for sharing. Great efforts.

Looking for Training Institute in Bangalore , India. Softgen Infotech is the best one to offers 85+ computer training courses including IT software course in Bangalore, India. Also it provides placement assistance service in Bangalore for IT.
Best Software Training Institute in Bangalore

My Class Training Bangalore mengatakan...

Wow its a very good post. The information provided by you is really very good and helpful for me. Keep sharing good information.

Best Training Institute in Bangalore BTM. My Class Training Bangalore training center for certified course, learning on Software Training Course by expert faculties, also provides job placement for fresher, experience job seekers.
Software Training Institute in Bangalore

eTechno Soft Solutions mengatakan...

I am happy for sharing on this blog its awesome blog I really impressed. thanks for sharing. Great efforts.

Start your journey with Training Institute in Bangaloreand get hands-on Experience with 100% Placement assistance from Expert Trainers with 8+ Years of experience @eTechno Soft Solutions Located in BTM Layout Bangalore.
SAP Training in Bangalore

watson mengatakan...

Thanks for one marvelous posting! I enjoyed reading it; you are a great author. I will make sure to bookmark your blog and may come back someday. I want to encourage that you continue your great posts.

watson mengatakan...

Thank you for your post. This is excellent information. It is amazing and wonderful to visit your site.sap hana training in bangalore

watson mengatakan...

Awesome,Thank you so much for sharing such an awesome blog. sap hr training in bangalore

watson mengatakan...


Thanks for sharing this blog. This very important and informative blog.sap mm training in bangalore

watson mengatakan...


Learned a lot of new things from your post! Good creation and HATS OFF to the creativity of your mind. sap fico training in bangalore

Bangalore Training Academy mengatakan...

I am really happy to say it’s an interesting post to read. I learn new information from your article; you are doing a great job. Keep it up

Learn Hadoop Training from the Industry Experts we bridge the gap between the need of the industry. Softgen Infotech provide the Best Hadoop Training in Bangalore with 100% Placement Assistance. Book a Free Demo Today.
Big Data Analytics Training in Bangalore
Tableau Training in Bangalore
Data Science Training in Bangalore
Workday Training in Bangalore

Digitalsenthil mengatakan...

Good post and its very informative too. Thanks for sharing...
Selenium Automation Training in Bangalore
Automation Testing Training in Bangalore
Java Selenium Training in Bangalore
Best Selenium Automation Training in Bangalore
Cucumber Training in Bangalore
Cucumber Training in Marathahalli

nizam mengatakan...

thank you for doing this great job

BEST ANGULAR JS TRAINING IN CHENNAI WITH PLACEMENT

https://www.acte.in/angular-js-training-in-chennai
https://www.acte.in/angular-js-training-in-annanagar
https://www.acte.in/angular-js-training-in-omr
https://www.acte.in/angular-js-training-in-porur
https://www.acte.in/angular-js-training-in-tambaram
https://www.acte.in/angular-js-training-in-velachery

nizam mengatakan...

Very nice post here and thanks for it .I always like and such a super contents of these post.Thank you for benefiting from time to focus on this kind of, I feel firmly about it and also really like comprehending far more with this particular subject matter.

BEST ANGULAR JS TRAINING IN CHENNAI WITH PLACEMENT

https://www.acte.in/angular-js-training-in-chennai
https://www.acte.in/angular-js-training-in-annanagar
https://www.acte.in/angular-js-training-in-omr
https://www.acte.in/angular-js-training-in-porur
https://www.acte.in/angular-js-training-in-tambaram
https://www.acte.in/angular-js-training-in-velachery

nizam mengatakan...

Thanks for sharing this blog . It is informative blog.
AngularJS training in chennai | AngularJS training in anna nagar | AngularJS training in omr | AngularJS training in porur | AngularJS training in tambaram | AngularJS training in velachery