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

20 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

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

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

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

Realtime Experts mengatakan...


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

Realtime Experts 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

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


aarthi mengatakan...

Thank for giving the useful blog.Keep blogging.
Java training in Chennai

Java training in Bangalore

Java training in Hyderabad

Java Training in Coimbatore

Java Online Training

deiva 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.
java training in chennai

java training in omr

aws training in chennai

aws training in omr

python training in chennai

python training in omr

selenium training in chennai

selenium training in omr

Jayalakshmi mengatakan...

Inspiring writings and I greatly admired what you have to say, I hope you continue to provide new ideas for us all and greetings success always for you..Keep update more information ..
data science training in chennai

data science training in tambaram

android training in chennai

android training in tambaram

devops training in chennai

devops training in tambaram

artificial intelligence training in chennai

artificial intelligence training in tambaram

shiny mengatakan...

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.


data science training in chennai

data science training in annanagar

android training in chennai

android training in annanagar

devops training in chennai

devops training in annanagar

artificial intelligence training in chennai

artificial intelligence training in annanagar

jeni mengatakan...

Your technical information related with java programming is very useful and interesting. Also share updated details about java in your website. Thanks for sharing this article.
sap training in chennai

sap training in velachery

azure training in chennai

azure training in velachery

cyber security course in chennai

cyber security course in velachery

ethical hacking course in chennai

ethical hacking course in velachery

ganesh mengatakan...

Very nice post here and thanks for it .I always like and such a super contents of these post
Angular js Training in Chennai

Angular js Training in Velachery

Angular js Training in Tambaram

Angular js Training in Porur

Angular js Training in Omr

Angular js Training in Annanagar



sahasrit mengatakan...

Nice Article.
amazon web services aws training in chennai

microsoft azure training in chennai

workday training in chennai

android-training-in chennai

ios training in chennai

Technogeekscs mengatakan...

Thanks for Sharing a Very Informative Post & I read Your Article & I must say that is very helpful post for us.

Selenium Training in Pune

Meghana mengatakan...

Polypropylene Random Copolymer Market 2022 Segmentation, Demand, Growth, Trend, Opportunity and Forecast to 2028
Summary

A New Market Study, Titled “Polypropylene Random Copolymer Market Upcoming Trends, Growth Drivers and Challenges” has been featured on fusionmarketresearch.

This report provides in-depth study of ‘Polypropylene Random Copolymer Market ‘using SWOT analysis i.e. strength, weakness, opportunity and threat to Organization. The Polypropylene Random Copolymer Market report also provides an in-depth survey of major market players which is based on the various objectives of an organization such as profiling, product outline, production quantity, raw material required, and production. The financial health of the organization.

Polypropylene Random Copolymer Market